telegram-click

Click inspired command-line interface creation toolkit for python-telegram-bot

MIT License

Downloads
534
Stars
10
Committers
3

Bot releases are visible (Hide)

telegram-click - v6.0.2 Latest Release

Published by release-drafter[bot] about 1 year ago

🐛 Bugfixes

  • fix missing await (#101) by @markusressel
telegram-click - v6.0.1

Published by release-drafter[bot] over 1 year ago

Docker release fix

telegram-click - v6.0.0

Published by release-drafter[bot] over 1 year ago

What’s Changed

  • Bump pytest from 7.2.0 to 7.2.1 (#99) by @dependabot
  • Bump certifi from 2022.9.24 to 2022.12.7 (#97) by @dependabot
  • Bump pytest from 7.1.3 to 7.2.0 (#94) by @dependabot
  • Bump emoji from 2.1.0 to 2.2.0 (#95) by @dependabot
  • Bump emoji from 1.7.0 to 2.1.0 (#93) by @dependabot
  • Bump python-telegram-bot from 13.11 to 13.14 (#92) by @dependabot
  • Bump pytest from 7.1.1 to 7.1.3 (#91) by @dependabot
  • Bump python-telegram-bot from 13.9 to 13.11 (#81) by @dependabot
  • Bump emoji from 1.6.1 to 1.7.0 (#84) by @dependabot
  • Bump pytest from 6.2.5 to 7.1.1 (#86) by @dependabot
  • fix tests (#78) by @markusressel
  • Bump python-telegram-bot from 13.5 to 13.7 (#69) by @dependabot
  • Bump emoji from 1.2.0 to 1.4.2 (#71) by @dependabot
  • Upgrade to GitHub-native Dependabot (#65) by @dependabot-preview
  • Bump python-telegram-bot from 13.4.1 to 13.5 (#66) by @dependabot-preview
  • Bump pytest from 6.2.3 to 6.2.4 (#67) by @dependabot-preview
  • Bump python-telegram-bot from 13.3 to 13.4.1 (#63) by @dependabot-preview
  • Bump pytest from 6.2.2 to 6.2.3 (#64) by @dependabot-preview
  • Bump pytest from 6.2.1 to 6.2.2 (#57) by @dependabot-preview
  • Bump emoji from 0.6.0 to 1.2.0 (#59) by @dependabot-preview
  • Bump python-telegram-bot from 13.0 to 13.3 (#62) by @dependabot-preview
  • Bump pytest from 6.1.1 to 6.2.1 (#56) by @dependabot-preview
  • [Security] Bump cryptography from 3.1.1 to 3.2 (#52) by @dependabot-preview

🚀 Features and ✨ Enhancements

  • migrate to python-telegram-bot v20 (#100) by @markusressel
telegram-click - v5.0.1

Published by release-drafter[bot] about 4 years ago

What’s Changed

  • Removed dependency version pinning
telegram-click - v5.0.0

Published by release-drafter[bot] about 4 years ago

What’s Changed

🚀 Features and ✨ Enhancements

  • added hidden parameter (#45) by @markusressel

BREAKING CHANGES

  • reversed parameter order of "update" and "context" params to align with python-telegram-bot (#45) by @markusressel
telegram-click - v4.1.0

Published by markusressel about 4 years ago

What’s Changed

🚀 Features and ✨ Enhancements

  • Feature/#40 single dash (#43) by @markusressel
  • Feature/#37 combined flags (#42) by @markusressel
  • Feature/help message improvements (#41) by @markusressel
  • Feature/#38 differentiate quoted and non quoted (#39) by @markusressel
telegram-click - v4.0.0

Published by release-drafter[bot] about 4 years ago

What’s Changed

  • Bump python-telegram-bot from 12.6.1 to 12.8 (#31) by @dependabot-preview
  • Bump emoji from 0.5.4 to 0.6.0 (#34) by @dependabot-preview
  • Bump pytest from 5.4.3 to 6.0.1 (#33) by @dependabot-preview
  • Bump pytest from 5.4.1 to 5.4.3 (#30) by @dependabot-preview
  • Bump python-telegram-bot from 12.5.1 to 12.6.1 (#27) by @dependabot-preview

🚀 Features and ✨ Enhancements

  • Feature/#35 error handler (#36) by @markusressel
    • this is a breaking change. The parameters permission_denied_message and print_error have been removed from the @command decorator and can now be accessed using constructor parameters silent_denial and print_error on DefaultErrorHandler. For more complex logic write your own ErrorHandler, see here
telegram-click - v3.3.4

Published by markusressel over 4 years ago

What’s Changed

  • force required arguments before optional arguments
  • don't parse floating arguments as flags
telegram-click - v3.3.3

Published by markusressel over 4 years ago

What’s Changed

  • sorting bugfix
telegram-click - v3.3.2

Published by release-drafter[bot] over 4 years ago

What’s Changed

  • print example as code block
telegram-click - v3.3.1

Published by release-drafter[bot] over 4 years ago

What’s Changed

  • help fix
  • example fix
telegram-click - v3.3.0

Published by release-drafter[bot] over 4 years ago

What’s Changed

🚀 Features and ✨ Enhancements

  • Feature/#23 equals assignment (#25) by @markusressel
  • Feature/#22 better flag help (#24) by @markusressel
telegram-click - v3.1.3

Published by release-drafter[bot] over 4 years ago

What’s Changed

  • less restrictive dependency requirement
telegram-click - v3.2.0

Published by release-drafter[bot] over 4 years ago

What’s Changed

🚀 Features and ✨ Enhancements

  • Feature/#20 flags (#21) by @markusressel
telegram-click - v3.1.2

Published by markusressel about 5 years ago

What’s Changed

🚀 Features and ✨ Enhancements

  • updated python-telegram-bot dependency
telegram-click - v3.1.1

Published by release-drafter[bot] about 5 years ago

What’s Changed

  • removed unnecessary escaping of argument names
telegram-click - v3.1.0

Published by release-drafter[bot] about 5 years ago

What’s Changed

🚀 Features and ✨ Enhancements

  • Feature/#16 multiple argument names (#17) by @markusressel
telegram-click - v3.0.0

Published by release-drafter[bot] about 5 years ago

What’s Changed

🚀 Features and ✨ Enhancements

  • added "optional" constructor parameter to Argument (#15) by @markusressel
  • added support for named arguments using -- or (used by telegram automatically when typing double dash)
  • added ANYBODY permission (although this is the same as using no permissions at all)
  • argument name validation (no whitespace)
  • much improved parameter parsing
  • command target is now checked before trying to parse arguments
  • improved help message
  • dont show unhandled exception message by default (validation errors will still show up)
  • arguments are now passed as named parameters to callback function using the argument name (although processed to match snake-case style)
  • no more errors when passing too many arguments, excess arguments that are not named arguments will be ignored from now on, named arguments will still raise an error
telegram-click - v2.4.0

Published by release-drafter[bot] about 5 years ago

What’s Changed

🚀 Features and ✨ Enhancements

  • sort command list by name and argument count (increasing) (#13) by @markusressel
  • added argument and permission tests
  • small documentation and typing fixes
  • refactoring
telegram-click - v2.3.0

Published by release-drafter[bot] over 5 years ago

What’s Changed

🚀 Features and ✨ Enhancements

  • allow command decorator in classmethods and staticmethods (#12) by @markusressel
  • allow f.ex. "2%" strings on float type (#11) by @markusressel

🐛 Bugfixes

  • Parse command target bot (#10) by @markusressel
Package Rankings
Top 12.06% on Pypi.org
Badges
Extracted from project README
Contributors MIT License Code Climate Latest Version Build Status