java.lang.Object
swim.args.Cmd
-
Constructor Summary
ConstructorsConstructorDescriptionCmd
(String id, String name, String desc, FingerTrieSeq<Opt> opts, FingerTrieSeq<Arg> args, FingerTrieSeq<Cmd> cmds, ExecCmd exec, Cmd base) -
Method Summary
Modifier and TypeMethodDescriptionargs()
base()
boolean
clone()
cmds()
static Cmd
static Cmd
<T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.desc()
boolean
exec()
getArg()
getArg
(int index) getValue()
getValue
(int index) int
hashCode()
static Cmd
help()
helpCmd()
id()
name()
opts()
void
run()
toHelp()
toString()
<T> Output<T>
writeFullName
(Output<T> output) <T> Output<T>
-
Constructor Details
-
Cmd
public Cmd(String id, String name, String desc, FingerTrieSeq<Opt> opts, FingerTrieSeq<Arg> args, FingerTrieSeq<Cmd> cmds, ExecCmd exec, Cmd base)
-
-
Method Details
-
base
-
id
-
name
-
desc
-
desc
-
opts
-
opt
-
opt
-
args
-
arg
-
arg
-
cmds
-
cmd
-
cmd
-
getOpt
-
getArg
-
getArg
-
getValue
-
getValue
-
parse
-
parse
-
exec
-
exec
-
run
public void run() -
helpCmd
-
writeFullName
-
writeHelp
-
toHelp
-
canEqual
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
toString
-
clone
-
create
-
create
-
help
-