Files
dotfiles/dot_agents/skills/linear-cli/references/auth.md
T
Prad Nukala 6406208b35 shell: fish functions -> ~/.local/bin executables + bash/zsh ports; manage ~/.agents
- 16 cross-shell utilities converted to sh/bash chezmoi executables:
  ai c2p cp-appid extract_agents fab gdc gh-sonr-org-migrate ghg-clone
  ghn gho git-summary launch_omp_livediff_overlay lc-elir mdcp mdp pj
  (ghg-clone not named ghg: unrelated cargo binary owns that name)
- cwd/history helpers stay per-shell: yy c cd clip-last + ghg/ghn/gho
  cd-wrappers in bash/functions/ and zsh/functions/, loaded by rc files
- fish keeps only shell-state functions; converted ones now hit PATH
- cp-appid ignore gating moved to .local/bin path
- dot_agents/skills: 82 skills materialized from dotstate storage so
  dot_claude skill symlinks resolve on fresh bootstrap; dotstate
  profile/symlinks.json released .agents/skills .bashrc .zshrc
2026-08-10 15:15:06 -04:00

153 lines
2.9 KiB
Markdown

# auth
> Manage Linear authentication
## Usage
```
Usage: linear auth
Description:
Manage Linear authentication
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
Commands:
login - Add a workspace credential
logout [workspace] - Remove a workspace credential
list - List configured workspaces
default [workspace] - Set the default workspace
token - Print the configured API token
whoami - Print information about the authenticated user
migrate - Migrate plaintext credentials to system keyring
```
## Subcommands
### login
> Add a workspace credential
```
Usage: linear auth login
Description:
Add a workspace credential
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
-k, --key <key> - API key (prompted if not provided)
--plaintext - Store API key in credentials file instead of system keyring
```
### logout
> Remove a workspace credential
```
Usage: linear auth logout [workspace]
Description:
Remove a workspace credential
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
-f, --force - Skip confirmation prompt
```
### list
> List configured workspaces
```
Usage: linear auth list
Description:
List configured workspaces
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
```
### default
> Set the default workspace
```
Usage: linear auth default [workspace]
Description:
Set the default workspace
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
```
### token
> Print the configured API token
```
Usage: linear auth token
Description:
Print the configured API token
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
```
### whoami
> Print information about the authenticated user
```
Usage: linear auth whoami
Description:
Print information about the authenticated user
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
```
### migrate
> Migrate plaintext credentials to system keyring
```
Usage: linear auth migrate
Description:
Migrate plaintext credentials to system keyring
Options:
-h, --help - Show this help.
--workspace <slug> - Target workspace (uses credentials)
```