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

SSG update - new feture (Support --config with Config File) #24

Open
jjung99 opened this issue Oct 6, 2021 · 1 comment
Open

SSG update - new feture (Support --config with Config File) #24

jjung99 opened this issue Oct 6, 2021 · 1 comment

Comments

@jjung99
Copy link

jjung99 commented Oct 6, 2021

  1. The -c or --config flags accept a file path to a JSON config file.
  2. If the file is missing, or can't be parsed as JSON, exit with an appropriate error message.
  3. If the -c or --config option is provided, ignore all other options (i.e., a config file overrides other options on the command line).
  4. The program should ignore any options in the config file it doesn't recognize. For example, if the SSG doesn't support stylesheets, ignore a stylesheet property.
  5. If the config file is missing any options, assume the usual defaults. For example, use dist/ as the output directory if it isn't specified.
@jjung99
Copy link
Author

jjung99 commented Oct 8, 2021

Please check the pull request! thanks :) created pull request

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