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

Handle --no-config-file option to prevent looking up for a configuration file #274

Merged
merged 2 commits into from
Aug 20, 2020

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Aug 20, 2020

When Marp CLI installed in the local Node.js project, sometimes user may want to ignore a project-wide configuration file.

In this PR we will handle a negated --config-file option. We won't look up a configuration file through cosmiconfig if passed --no-config-file option.

We also added an --config alias to --config-file option, for compatibllity with some CLI tools. It means that negated --no-config-file and --no-config will work as expected too.

@yhatt yhatt merged commit d4c54ea into master Aug 20, 2020
@yhatt yhatt deleted the no-config-option branch August 20, 2020 14:12
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.

1 participant