copia-cli auth login
copia-cli auth login [flags]
Authenticate with a Copia host. The default authentication mode is interactive, prompting for host and token. Use –host and –token for non-interactive login in CI environments.
Options
-
--host <string> - Copia instance hostname (default: app.copia.io)
-
--token <string> - Personal access token
Options inherited from parent commands
-R,--repo <string>- Select repository (owner/repo)
Examples
# Interactive login
$ copia-cli auth login
# Non-interactive login (CI/agent)
$ copia-cli auth login --host app.copia.io --token YOUR_TOKEN