-
Notifications
You must be signed in to change notification settings - Fork 915
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
cli: add "--config" option support #241
Comments
This is a reasonable request, thanks for bringing this up. Want to lend a hand? This could be implemented like this: 1. Extend CLI to accept a new flag {
// lines omitted
string: ['config', 'cwd', 'from', 'to', 'edit', 'extends', 'parser-preset'],
} 2. Pass new flag to const loaded = await core.load(getSeed(flags), {cwd: flags.cwd, file: flags.config}); 3. Pass **4. Pass |
@marionebl |
@lc-soft That is awesome, thank you. Do no hesitate to ask if you run into problems. |
Console output
|
OK, need to run |
When I do not define an alias for "config" option, the
|
Jep, that is the internal help text generator miss-firing. Works with the g alias, right?
Not sure, might be lerna/yarn/ava interfering
I should document that, tripping over it myself everytime I touch |
Released via |
I want move commitlint.config.js to config directory, but I cannot found option like
commitlint --config myapp/config/commitlint.config.js
.Expected Behavior
Current Behavior
Affected packages
The text was updated successfully, but these errors were encountered: