neo auth
Sign in and manage forge credentials.
Browser device-flow login (which also wires neo as git’s credential helper), optional machine-local SSH enrollment, session status, and logout.
neo auth [OPTIONS] <COMMAND>neo auth login
Section titled “neo auth login”Sign in via the browser device flow.
Before creating the device session, optionally selects or generates a machine-local SSH key. Browser approval then binds that key and the issued CLI token together. Also registers neo as git’s credential helper so plain git fetch/pull/clone against the forge authenticate transparently.
neo auth login [OPTIONS]neo auth status
Section titled “neo auth status”Show the stored login and whether it is still valid
neo auth status [OPTIONS]neo auth logout
Section titled “neo auth logout”Revoke the stored CLI token on the server and remove it locally
neo auth logout [OPTIONS]neo auth git-credential
Section titled “neo auth git-credential”git credential helper — invoked by git, not by hand.
neo auth login wires it up (credential.https://<host>.helper = "!neo auth git-credential"); git then runs neo auth git-credential get to fetch your token for git fetch/pull/clone. store/erase are no-ops.
neo auth git-credential [OPTIONS] <ACTION>| Option | Value | Required | Default | Env | Values | Description |
|---|---|---|---|---|---|---|
<ACTION> |
yes | The action git passes: get, store, or erase |