main

Function main 

pub async fn main<W: WindowsApi + Clone + 'static, E: Entrypoint>(
    windows_api: &W,
    args: Args,
    entrypoint: E,
)
Expand description

The main entrypoint

Parses the CLI arguments, loads an existing config or writes the default config to disk, and calls the respective subcommand. If no subcommand is given we launch the daemon subcommand in a new window.