Skip to content

Login

Authenticate the Merfolk CLI with your account.

Usage

merfolk login [flags]

Description

Authenticates the CLI for commands that access private diagrams and team resources.

Flags

Flag Description
--json Output result as JSON

Examples

# Start login flow
merfolk login

# Output login status as JSON
merfolk login --json

Output

On success, prints a confirmation message. With --json:

{ "status": "authenticated" }

Exit codes

Code Meaning
0 Authentication successful
1 Login failed or cancelled
Navigation

Type to search…

↑↓ navigate↵ selectEsc close