9 releases (4 breaking)
0.5.0 | Sep 30, 2022 |
---|---|
0.4.1 | Sep 19, 2022 |
0.3.1 | Sep 17, 2022 |
0.2.2 | Sep 12, 2022 |
0.1.1 | Aug 29, 2022 |
27 downloads per month
Used in kal
28KB
636 lines
kal
Command Abstraction Layer primarily for bot-any
packages.
Core Concepts
- Command Fragment :
Select
subcommand orExecute
current command with arguments supplied. - Command Spec : The specification of command mainly used for documentation or registration.
- Command : A trait providing Command Spec and Command Fragments parser.
- Command Group : A macro for merging bunch of commands to manipulating them easily.
Dependencies
~2MB
~43K SLoC