Skip to content

Commit

Permalink
Simplify description and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
macmv committed Oct 5, 2023
1 parent 4216bdd commit 5540dd3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
15 changes: 4 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -496,20 +496,13 @@ Prompts the user to log into a Fauna account, and saves the secret to a new
endpoint.

```sh
Add a Fauna endpoint by logging into a Fauna account.
Log in to a Fauna account.

USAGE
$ fauna cloud-login [--endpointURL <value>] [--timeout <value>]
[--secret <value>] [--endpoint <value>]

FLAGS
--endpoint=<value> Connection endpoint, from ~/.fauna-shell
--endpointURL=<value> Database URL. Overrides the `url` in ~/.fauna-shell
--secret=<value> Secret key. Overrides the `secret` in ~/.fauna-shell
--timeout=<value> Connection timeout in milliseconds
$ fauna cloud-login

DESCRIPTION
Add a Fauna endpoint by logging into a Fauna account.
Log in to a Fauna account.

EXAMPLES
$ fauna cloud-login
Expand Down Expand Up @@ -841,7 +834,7 @@ TOPICS

COMMANDS
add-endpoint Add an endpoint to ~/.fauna-shell.
cloud-login Add a Fauna endpoint by logging into a Fauna account.
cloud-login Log in to a Fauna account.
create-database Create a database.
create-key Create a key for the specified database.
default-endpoint Set an endpoint as the default one.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/cloud-login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Region {
}

export default class CloudLoginCommand extends Command {
static description = "Prompt the user to log into a Fauna account.";
static description = "Log in to a Fauna account.";
static examples = ["$ fauna cloud-login"];
static flags = {};

Expand Down

0 comments on commit 5540dd3

Please sign in to comment.