From 2331aa07a3b20c15addb6302dca0f64b9cda2eff Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Fri, 24 Jan 2025 10:53:37 -0500 Subject: [PATCH] [DOCS-4044] Update several feature names to sentence case (#577) --- README.md | 2 +- src/commands/database/create.mjs | 2 +- src/commands/database/delete.mjs | 2 +- src/commands/database/list.mjs | 2 +- src/lib/options.mjs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ec3e4f9a..211af340 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ To get started: ```shell # Runs a query in the top-level 'my_db' database - # in the 'us' Region Group. Use the default admin role. + # in the 'us' region group. Use the default admin role. fauna query "Collection.all()" \ --database us/my_db ``` diff --git a/src/commands/database/create.mjs b/src/commands/database/create.mjs index 5d3cfa32..3e46e07a 100644 --- a/src/commands/database/create.mjs +++ b/src/commands/database/create.mjs @@ -102,7 +102,7 @@ function buildCreateCommand(yargs) { .example([ [ "$0 database create --name my_db --database us", - "Create the top-level 'my_db' database in the 'us' Region Group.", + "Create the top-level 'my_db' database in the 'us' region group.", ], [ "$0 database create --name child_db --database us/parent_db", diff --git a/src/commands/database/delete.mjs b/src/commands/database/delete.mjs index 3acd83b7..d015c076 100644 --- a/src/commands/database/delete.mjs +++ b/src/commands/database/delete.mjs @@ -58,7 +58,7 @@ function buildDeleteCommand(yargs) { .example([ [ "$0 database delete --name my_db --database us", - "Delete the top-level 'my_db' database in the 'us' Region Group.", + "Delete the top-level 'my_db' database in the 'us' region group.", ], [ "$0 database delete --name child_db --database us/parent_db", diff --git a/src/commands/database/list.mjs b/src/commands/database/list.mjs index b59b841b..69e12e99 100644 --- a/src/commands/database/list.mjs +++ b/src/commands/database/list.mjs @@ -53,7 +53,7 @@ async function doListDatabases(argv) { if (argv.secret) { logger.stderr( chalk.yellow( - "Warning: Full database paths are not available when using --secret. Use --database if a full path, including the Region Group identified and hierarchy, is needed.", + "Warning: Full database paths are not available when using --secret. Use --database if a full path, including the region group identifier and hierarchy, is needed.", ), ); } diff --git a/src/lib/options.mjs b/src/lib/options.mjs index 09f93740..645c53d2 100644 --- a/src/lib/options.mjs +++ b/src/lib/options.mjs @@ -43,7 +43,7 @@ export const DATABASE_PATH_OPTIONS = { alias: "d", type: "string", description: - "Database, including Region Group and hierarchy, to run the command in. Ex: 'us/my_db', 'eu/parent_db/child_db', 'global/db'.", + "Database, including region group and hierarchy, to run the command in. Ex: 'us/my_db', 'eu/parent_db/child_db', 'global/db'.", group: "API:", }, };