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

Add --config flag to support a config.json file #10

Open
5 tasks done
lmpham1 opened this issue Oct 6, 2021 · 0 comments
Open
5 tasks done

Add --config flag to support a config.json file #10

lmpham1 opened this issue Oct 6, 2021 · 0 comments

Comments

@lmpham1
Copy link

lmpham1 commented Oct 6, 2021

Description

Add --config/-c command-line flag to allow usage of a config.json file to configure command-line options

Initial Plan

  • Add --config/-c flag to the command-line argument parser
  • Parse the config.json file to retrieve the configurations and apply them to the program
  • Make sure other options are ignored if the config option is used
  • Handle missing, invalid or unsupported configurations
  • Add the documentation to README.md

Please let me know if you have any questions or suggestions regarding my approach

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

No branches or pull requests

1 participant