jcli ~master (2022-03-09T18:57:21Z)
Dub
Repo
MultiplyCommand
new_examples
top_down
main
Undocumented in source.
@
Command
("multiply", "Multiplies the 2 given numbers")
struct
MultiplyCommand {
RootCommand
*
root
;
@"Whether to return the reciprocal of the answer."
@
ArgConfig
.
parseAsFlag
bool
reciprocal
;
@
ArgGroup
("numbers", "Numbers to multiply together")
@
ArgPositional
float
a
;
@
ArgGroup
("numbers", "Numbers to multiply together")
@
ArgPositional
float
b
;
int
onExecute
();
}
Members
Functions
onExecute
int
onExecute
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
a
float
a
;
Undocumented in source.
b
float
b
;
Undocumented in source.
reciprocal
bool
reciprocal
;
Undocumented in source.
root
RootCommand
*
root
;
Undocumented in source.
Meta
Source
See Implementation
new_examples
top_down
main
functions
main
structs
MultiplyCommand
PrintCommand
RootCommand