Skip to content

Output custom command line help usage #884

@icnocop

Description

@icnocop

Hi.

Thank you for Electron.NET.

I would like to request the ability to display custom command line help usage.

For example, when I electronize the app and run MyElectronizedApp.exe --help I want to display my custom command line usage.

For example, in Program.cs:

public static async Task<int> Main(string[] args)
{
    if (Electron.IsRunningInElectron)
    {
        // parse args passed to the electronized app, before the web app is run
        // if `--help` is passed, display help usage and exit (do not run the app)
    }
}

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions