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

Adding Config File Feature #20

Merged
merged 2 commits into from
Oct 6, 2021
Merged

Conversation

xguhx
Copy link
Contributor

@xguhx xguhx commented Oct 6, 2021

Hey,
Fixes #19.
To make your program accept a config file and read from it, I had to make the following changes:
-Add options -c and --config to yargs.
-Read from a cfg JSON file using fs.
-Parse the data and extract the flags from it.

Thank you for considering this,

@vercel
Copy link

vercel bot commented Oct 6, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mizuhookimoto/pajama-ssg/8XCWAjoMniSEG3cED4vmvkfHQK1t
✅ Preview: Failed

[Deployment for 04a71d5 failed]

@xguhx xguhx marked this pull request as ready for review October 6, 2021 01:32
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

Successfully merging this pull request may close these issues.

Adding Config File support.
2 participants