Skip to content

Conversation

@jamiebrynes7
Copy link
Contributor

Ran into this myself today, if a user fails to provide the /target argument when running electronize build they simply get a KeyNotFoundException.

This change checks for the presence of this argument and, if not present, displays help information to the user as well as gracefully exiting.

Related to #296

As a sidenote, is there a reason we don't use a command line parsing library (for example - https://github.com/commandlineparser/commandline) to handle these cases for us?

@GregorBiswanger GregorBiswanger added this to the 7.30.2 milestone Nov 27, 2019
@GregorBiswanger GregorBiswanger merged commit d2b3c28 into ElectronNET:master Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants