entry

Attribute Macro entry 

Source
#[entry]
Expand description

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.