Hwaro::CLI::CommandInfo
Inherits Reference / Object
Command information including subcommands and flags
Constructors
new(name : String, description : String, flags : Array(FlagInfo) = [] of FlagInfo, subcommands : Array(CommandInfo) = [] of CommandInfo, positional_args : Array(String) = [] of String, positional_choices : Array(String) = [] of String)
SourceInstance methods
description
Sourcedescription=(description : String)
Sourceflags
Sourceflags=(flags : Array(FlagInfo))
Sourcename
Sourcename=(name : String)
Sourcepositional_args
Sourcepositional_args=(positional_args : Array(String))
Sourcepositional_choices
Sourcepositional_choices=(positional_choices : Array(String))
Sourcesubcommands
Sourcesubcommands=(subcommands : Array(CommandInfo))
Source