Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cmds
v0.5.0
Cmds
Abort
ArgumentError
Cli
Default
Cmd
DefaultActions
CmdNotFound
CmdTable
Desc
Finished
Getopt
InvalidArgument
InvalidCommand
InvalidTask
MissingArgument
MissingCommand
MissingTask
Navigatable
Navigator
ShowUsage
ShowUsageWithTask
State
Usage
Built with Crystal 1.9.2
2023-10-08 07:50:38 UTC
module
Cmds::Cmd::DefaultActions
Defined in:
cmds/cmd.cr
Instance Method Summary
#abort
(msg)
#after
#before
#finished!
(msg : String =
""
)
#run
(args : Array(String))
#run
#show_usage
(msg =
nil
)
Instance Method Detail
def
abort
(msg)
#
[
View source
]
def
after
#
[
View source
]
def
before
#
[
View source
]
def
finished!
(msg : String =
""
)
#
[
View source
]
def
run
(args : Array(String))
#
[
View source
]
def
run
#
[
View source
]
def
show_usage
(msg =
nil
)
#
[
View source
]