clipper login

Store credentials for a registry.

clipper login [<registry>]

Arguments

ArgumentDescription
[<registry>]Registry to authenticate with. Defaults to clipper.dev.

Examples

Login to Clipper

clipper login

Prompts for your access token.

Login to a specific registry

clipper login my-registry.example.com

Credential storage

Credentials are stored in ~/.config/clipper/credentials.json. The file contains a token per registry:

{
  "registries": {
    "clipper.dev": {
      "token": "clp_..."
    }
  }
}

You can also set the CLIPPER_CREDENTIALS_FILE environment variable to use a different path.