struct

Kebab::Schema::Usage::Subcommand

Inherits Struct < Value < Object

Usage line shape for a command that dispatches to a subcommand.

Constructors

new(command_path : Array(String), has_options : Bool)
Source

Instance methods

command_path

Path of command names from the binary down to this command (e.g. ["tasks", "add"]).

Source
has_options?

true if the command declares any options.

Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source