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()booleanclone()cmds()static Cmdstatic Cmd<T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.desc()booleanexec()getArg()getArg(int index) getValue()getValue(int index) inthashCode()static Cmdhelp()helpCmd()id()name()opts()voidrun()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:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
toString
-
clone
-
create
-
create
-
help
-