jcli ~master (2022-03-09T18:57:21Z)
Dub
Repo
RootCommand
new_examples
top_down
main
Undocumented in source.
@
CommandDefault
("The root command, which gives some common context to the subcommands.")
@
Subcommands
!(
PrintCommand
,
MultiplyCommand
)
struct
RootCommand {
@
ArgNamed
("silent|s", "Silences all console logs (opt-in).")
@
ArgConfig
.
parseAsFlag
bool
silent
;
void
onIntermediateExecute
();
void
maybeWriteln
(Args args);
}
Members
Functions
maybeWriteln
void
maybeWriteln
(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
onIntermediateExecute
void
onIntermediateExecute
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
silent
bool
silent
;
Undocumented in source.
Meta
Source
See Implementation
new_examples
top_down
main
functions
main
structs
MultiplyCommand
PrintCommand
RootCommand