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

make command descriptions more consistent #482

Merged
merged 2 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,8 @@ function buildYargs(argvInput) {
.fail(false)
.exitProcess(false)
.version()
.completion();
.completion(
"completion",
"Output bash/zsh script to enable shell completions. See command output for installation instructions.",
);
}
2 changes: 1 addition & 1 deletion src/commands/key.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function keyHandler(argv) {

export default {
command: "key <method>",
description: "Interact with your database keys:",
description: "Manage a database's keys.",
builder: buildKeyCommand,
handler: keyHandler,
};
2 changes: 1 addition & 1 deletion src/commands/schema/pull.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function buildPullCommand(yargs) {
"Pull the 'us/example' database's staged schema.",
],
[
"$0 schema pull ---secret my-secret --dir /path/to/schema",
"$0 schema pull --secret my-secret --dir /path/to/schema",
"Pull the staged schema for the database scoped to a secret.",
],
[
Expand Down
Loading