Releases: markusressel/telegram-click
Releases · markusressel/telegram-click
v3.3.2
What’s Changed
- print example as code block
v3.3.1
What’s Changed
- help fix
- example fix
v3.3.0
What’s Changed
🚀 Features and ✨ Enhancements
- Feature/#23 equals assignment (#25) by @markusressel
- Feature/#22 better flag help (#24) by @markusressel
v3.2.0
v3.1.3
What’s Changed
- less restrictive dependency requirement
v3.1.2
What’s Changed
🚀 Features and ✨ Enhancements
- updated python-telegram-bot dependency
v3.1.1
What’s Changed
- removed unnecessary escaping of argument names
v3.1.0
What’s Changed
🚀 Features and ✨ Enhancements
- Feature/#16 multiple argument names (#17) by @markusressel
v3.0.0
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 matchsnake-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
v2.4.0
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