Light Logo
CLI (v0.49.0)Reference

wriftai auth login

CLI reference for wriftai auth login

wriftai auth login

Login to WriftAI

Synopsis

Authenticate with WriftAI.

Alternatively, set the WRIFTAI_ACCESS_TOKEN environment variable to authenticate without running login.

Credentials are stored in the system keyring when available (macOS Keychain, Windows Credential Manager, Linux Secret Service).

wriftai auth login [flags]

Examples

  Pipe token via stdin
  $ echo "$WRIFTAI_ACCESS_TOKEN" | wriftai auth login --token-stdin

  Read token from a file
  $ wriftai auth login --token-stdin < token.txt

  Use environment variable (no login command needed)
  $ export WRIFTAI_ACCESS_TOKEN=<token>
  $ wriftai <command>

Options

  -h, --help          help for login
      --token-stdin   Read token from standard input (required)

Options inherited from parent commands

      --debug   Enable debug mode

SEE ALSO