Kebab::Command
Configures a Kebab::Parseable struct as a command.
@[Kebab::Command(name: "clock-in", summary: "Start the timer")]
struct ClockIn
include Kebab::Parseable
end
Available fields:
- name (
String): the command's name in usage and help. Defaults to the struct's name in snake_case. - summary (
String): the one-line description shown in help and in a parent's command list.