Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser for optional command line arguments #23

Closed
JamesMc86 opened this issue Jun 7, 2017 · 3 comments
Closed

Parser for optional command line arguments #23

JamesMc86 opened this issue Jun 7, 2017 · 3 comments

Comments

@JamesMc86
Copy link
Collaborator

Its common with the command line to have a series of optional arguments. e.g. -o results.xml -ver 2014.

The tool could include support for parsing these into a variant dictionary.

@JamesMc86
Copy link
Collaborator Author

Sam's post https://automatedenver.com/maps-a-better-way-to-pass-command-line-arguments/ got me thinking on this again.

The concepts there should work but needs to be variant dictionary to support older versions. Probably should be wrapped in a class which is initialised with the string array so you can do your own if you want.

@JamesMc86
Copy link
Collaborator Author

Basically done - just need to handle how to detect required elements that are missing.

@JamesMc86
Copy link
Collaborator Author

Required is in - build example and it's ready to ship!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant