-
Notifications
You must be signed in to change notification settings - Fork 715
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
Edit dart pub token page #5717
Edit dart pub token page #5717
Conversation
Visit the preview URL for this PR (updated for commit 506e088): |
|
||
The tokens are stored in a | ||
[user-wide config dir]({{site.repo.dart.org}}/cli_util/blob/71ba36e2554f7b7717f3f12b5ddd33751a4e3ddd/lib/cli_util.dart#L88-L118). | ||
It stores these tokens in a [user-wide config directory][config-dir]. | ||
|
||
It has three subcommands: `add`, `list` and `remove`. |
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.
suggestion (lite): This gets tricky with avoiding passive voice, but could we say something besides "It" again here (the previous sentence also starts with "It")
dart pub token
has three subcommands....- The subcommand has three subcommands of its own...
I don't have any good ideas, just a thought.
@MaryaBelanger : Thanks for this! I'll update this soon. |
@MaryaBelanger : PTAL. Thanks! |
Co-authored-by: Marya <111139605+MaryaBelanger@users.noreply.github.com>
Co-authored-by: Marya <111139605+MaryaBelanger@users.noreply.github.com>
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.
As I pointed out in several suggestions, I don't think "invoke" is the right word to use for running a command.
- It's needlessly complex; "run" is universally understood
- None of the other command docs use it in their instructions
- If you look across the dart docs, "invoke" is defined as and always used to describe calling a method or some kind of class relationship. Using it for CLI is an unnecessary overload
Most of the other CLI docs just say "use the command ...".
Approving for the sake of progression.
Changed phrasing from `invoke` to `use`.
@MaryaBelanger : I agree with your assessment. I made the changes. |
Fixes #3729