[−][src]Attribute Macro commander_macros::entry
#[entry]
Define entry of CLI.
Only using for main
function. No parameter needed.
Note
If you want to define public options, put all options before #[entry]
.
In other word, you can regard #[entry]
as #[command]
without parameters.