Skip to content
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
4 changes: 2 additions & 2 deletions docs/documentation/community/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Check out the answers to the most frequently asked questions about Relay. If you
</Accordion>

<Accordion title="How do I get started?">
Install the CLI with `pip install relaycli`, then run `relay account add` to connect your first email account.
Install the CLI with `pip install relaycli`, then run `relay accounts add` to connect your first email account.
The [quickstart guide](/documentation/getting-started/quickstart) walks you through the entire setup in under 5 minutes.
</Accordion>

Expand Down Expand Up @@ -43,7 +43,7 @@ Check out the answers to the most frequently asked questions about Relay. If you
</Accordion>

<Accordion title="Can I manage multiple email accounts?">
Yes! Connect unlimited email accounts with `relay account add` and switch between them or manage them all simultaneously.
Yes! Connect unlimited email accounts with `relay accounts add` and switch between them or manage them all simultaneously.
Each account gets its own secure credential storage.
</Accordion>

Expand Down
10 changes: 5 additions & 5 deletions docs/reference/cli/accounts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ For Gmail, you'll need to use an App Password instead of your regular password.
Display all configured email accounts in a formatted table.

```shell
relay account list
relay accounts list
```

**Alias:** `relay account ls`
**Alias:** `relay accounts ls`

The output shows:
- Account name
Expand All @@ -112,15 +112,15 @@ Remove an account and its stored credentials from your system.
<Tabs>
<Tab title="With Confirmation">
```shell
relay account remove work
relay accounts remove work
```

The CLI will ask for confirmation before removing the account.
</Tab>

<Tab title="Force Removal">
```shell
relay account remove work --force
relay accounts remove work --force
```

**Aliases:** `--force`, `-f`, `-y`
Expand All @@ -138,7 +138,7 @@ This action is irreversible. You'll need to re-add the account if you want to us
Verify that your account credentials are working and the server is reachable.

```shell
relay account test work
relay accounts test work
```

This command will:
Expand Down
4 changes: 2 additions & 2 deletions relay/cli/commands/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _get_account_manager_and_client(account: str) -> tuple[AccountManager, Any,
if not account:
accounts = manager.list_accounts()
if not accounts:
console.print("[red]✗ No accounts configured. Use 'relay account add' to add an account.[/red]")
console.print("[red]✗ No accounts configured. Use 'relay accounts add' to add an account.[/red]")
raise typer.Exit(1)
account = accounts[0].name
console.print(f"[dim]Using account: {account}[/dim]")
Expand All @@ -73,7 +73,7 @@ def wrapper(*args, **kwargs):
return func(*args, **kwargs)
except AccountNotFoundError as e:
console.print(f"[red]✗ {e}[/red]")
console.print("[dim]Use 'relay account list' to see available accounts[/dim]")
console.print("[dim]Use 'relay accounts ls' to see available accounts[/dim]")
raise typer.Exit(1)
except AuthenticationError as e:
console.print(f"[red]✗ {e}[/red]")
Expand Down
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ main() {

log ""
log "🎉 Relay CLI installed successfully!"
log "Run 'relay account add' to get started"
log "Run 'relay accounts add' to get started"
log "Documentation: https://docs.relaycli.com"
}

Expand Down