class Argz::Command
- Argz::Command
- Argz::DSL
- Reference
- Object
Defined in:
argz/command.crConstructors
Class Method Summary
Instance Method Summary
- #action(&block : Proc(String | Bool | Nil))
- #actions?
- #default(str : String)
- #default : Bool | String
- #default?
- #desc(str : String)
- #desc : String | String.class
- #description(str : String)
- #description : String | String.class
- #example(name : String, &block : Proc(String))
- #examples : Hash(String, String)
- #examples(&)
- #long(str : String)
- #long : String | String.class
- #long?
- #name(str : String)
- #name : String | String.class
- #next_action
- #required
- #required? : Bool
- #run!
- #short(str : String)
- #short : String | String.class
- #short?
- #shrt(str : String)
- #shrt : String | String.class
- #smry(str : String)
- #summary(str : String)
- #summary : String | String.class
- #to_h
-
#used?
Check if the command has been used.