-
Notifications
You must be signed in to change notification settings - Fork 144
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
fix: scriptName + improving usage messages #305
Conversation
I added a commit fixing the points raised in @Berkmann18 review |
I could also add a warning in the |
I wonder if having that in the help/usage section would be better, what do you think? |
@Berkmann18 it's already in the usage section 😉
|
True, feel free to make a PR for that 😁. |
@Berkmann18 You mean a separate one? Do you want this piece of code to be removed from this PR? |
Could this PR be merged? @Berkmann18 : are you expecting anything on my part? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for taking long to come back to this.
@all-contributors please add @Lucas-C for docs |
I've put up a pull request to add @Lucas-C! 🎉 |
🎉 This PR is included in version 6.20.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* origin/master: (85 commits) refactor: log full error stack on error (#316) chore: fix status badges (#315) docs: add JoshuaKGoldberg as a contributor for bug (#314) fix: incorrect usage of `tbody` (#311) fix: trim `nextLink` before slicing (#309) fix: set default value as `7` for `contributorsPerLine` (#139) chore(deps): bump dependencies and devDeps (#298) refactor: add tbody to contributors table (#307) docs: add Lucas-C as a contributor for doc (#306) fix: scriptName + improving usage messages (#305) docs: add vapurrmaid as a contributor (#304) chore(deps): CVE-2021-23337 in inquirer->lodash (#303) docs: add SirWindfield as a contributor (#297) feat: add namespaced token (#296) docs: add LaChapeliere as a contributor (#292) feat(contribution-types): add research contribution type (#291) docs: add darekkay as a contributor (#290) feat: display a meaningful error when the config file is missing (#288) docs: add melink14 as a contributor (#285) docs: add jdalrymple as a contributor (#264) ...
What: CLI usage was specified in the code, but in a wrong way.
This PR allows for the subcommands usage message to be displayed properly.
It also replace
cli.js
byall-contributors
in the usage messages.Why: in order to fix the aforementioned usage message issues
How: in Javascript 😊
Checklist:
Behaviour BEFORE this PR:
Behaviour AFTER this PR:
My initial motivation for this PR was to make it explicit in
all-contributors add --help
that several contributions could be specified at once,
but comma-separated and not space-separated,
as I have been confused myself by this.