Skip to content

pipe2 auth login

pipe2 auth login

Save a personal access token to the config file

Synopsis

Save a Pipe2.ai personal access token (PAT) to the config file.

You can mint a token at https://pipe2.ai/api-keys and pass it via —token, or pipe it on stdin:

echo $PAT | pipe2 auth login —token -

The token is stored at $XDG_CONFIG_HOME/pipe2/config.json with mode 0600.

pipe2 auth login [flags]

Options

--api-url string override saved API URL
-h, --help help for login
--token string personal access token, or "-" to read from stdin

Options inherited from parent commands

--config string path to config file (default: $XDG_CONFIG_HOME/pipe2/config.toml)
--json emit JSON to stdout instead of human-readable text
-v, --verbose verbose human output on stderr

SEE ALSO