9 releases (4 breaking)

0.5.0 Sep 30, 2022
0.4.2 Sep 19, 2022
0.3.0 Sep 17, 2022
0.2.1 Sep 12, 2022
0.1.1 Aug 29, 2022

#10 in #fragment

42 downloads per month

MIT license

53KB
1K SLoC

kal

Command Abstraction Layer primarily for bot-any packages.

Core Concepts

  • Command Fragment : Select subcommand or Execute 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.

lib.rs:

kal

Command Abstraction Layer for bot libraries

Dependencies

~0–280KB