인증 · 계정
로그인 · 계정 · 프로필 · 회사(tenant) · 설정 · 진단 · 업데이트 명령
CLI가 "누구로서" axhub에 접속하는지를 정하는 명령이 이 페이지에 모여 있어요. 처음 설치했다면 axhub auth login 한 번으로 브라우저 OAuth 로그인을 끝낼 수 있고, CI · 에이전트에서는 PAT(auth pat)를 쓰면 돼요. 여러 환경을 오가면 profile, 여러 회사에 속해 있으면 tenants로 대상을 전환해요. 뭔가 이상하면 doctor로 설치 · 인증 · 연결을 한 번에 진단할 수 있어요. 설치부터 첫 로그인까지의 흐름은 퀵스타트에서 순서대로 다뤄요.
axhub auth
로그인 · 토큰 · 계정 인증을 관리해요.
axhub auth idp
회사 SSO(OIDC) ID 공급자 종류를 확인하고 연결을 테스트해요.
axhub auth idp providers
지원되는 ID 공급자 종류를 봐요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--tenant | string | Tenant slug or ID used to scope the command. | — |
axhub auth idp test
ID 공급자 연결 설정을 테스트해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<provider_id> | string (인자) | — | — |
--tenant | string | Tenant slug or ID used to scope the command. | — |
axhub auth login
브라우저 OAuth 디바이스 플로우로 로그인해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--device-code | string | Resume an already-issued AxHub OAuth device code (env: AXHUB_AUTH_DEVICE_CODE) | — |
--force | boolean | Bypass the normal safety prompt for this operation. | — |
--no-browser | boolean | Do not open a browser automatically. | — |
--resource | string | Value for the --resource option. Can also be provided via AXHUB_OAUTH_RESOURCE. | — |
--resume-last | boolean | Resume the latest locally cached AxHub OAuth device flow for this profile | — |
--scopes | string | Comma-separated OAuth or token scopes. | — |
--tenant | string | Tenant slug or ID used to scope the command. | — |
--wait-approval | string | Keep waiting for the user's approval inside this one command, up to the given duration (6s–10m; e.g. 90s). Without it the resume polls once and exits. Use it instead of re-running the resume in a loop. --device-code 또는 --resume-last와 함께 써요 | — |
axhub auth logout
로그아웃하고 저장된 토큰을 지워요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--dry-run | boolean | Preview the operation without applying state changes. | — |
axhub auth oauth
OAuth 토큰 · 클라이언트 · 동의를 관리해요.
axhub auth oauth client
OAuth 클라이언트를 관리해요.
axhub auth oauth client create
OAuth 클라이언트를 등록해요 (DCR).
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--allowed-resource | string | — | — |
--app | string | App slug or ID to operate on. | — |
--auth-method | string | — | — |
--copy | boolean | — | — |
--dry-run | boolean | Preview the operation without applying state changes. | true |
--execute | boolean | Apply the state-changing operation instead of previewing it. | — |
--grant-type | string | — | — |
--name | string | Resource display name. | — |
--redirect-uri | string | — | — |
--scope | string | — | — |
--type | string | — | — |
axhub auth oauth client get
OAuth 클라이언트 정보를 조회해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<client_id> | string (인자) | — | — |
axhub auth oauth consent
발급한 OAuth 동의(권한)를 관리해요.
axhub auth oauth consent revoke
OAuth 동의를 철회해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<client_id> | string (인자) | — | — |
--dry-run | boolean | Preview the operation without applying state changes. | true |
--execute | boolean | Apply the state-changing operation instead of previewing it. | — |
axhub auth oauth revoke
OAuth 토큰을 철회해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<token> | string (인자) | Token value or token identifier. | — |
--client-id | string | — | 00000000-0000-4000-8000-000000000001 |
--client-secret | string | — | — |
--client-secret-file | string | — | — |
--dry-run | boolean | Preview the operation without applying state changes. | true |
--execute | boolean | Apply the state-changing operation instead of previewing it. | — |
--token-type-hint | string | — | — |
axhub auth pat
개인 액세스 토큰(PAT)을 관리해요.
axhub auth pat issue
새 PAT을 발급해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--expires-in-days | string | Number of days before the generated credential expires. | — |
--name | string | Resource display name. | — |
--no-save | boolean | Print the credential without saving it locally. | — |
--show-token | boolean | Print the generated token once after creation. | — |
--use | boolean | — | — |
axhub auth pat list
PAT 목록을 봐요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--reconcile | boolean | — | — |
axhub auth pat revoke
PAT을 철회해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<id> | string (인자) | Resource identifier. | — |
--dry-run | boolean | Preview the operation without applying state changes. | true |
--execute | boolean | Apply the state-changing operation instead of previewing it. | — |
axhub auth pat rotate
PAT을 교체(철회 후 재발급)해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--dry-run | boolean | Preview the operation without applying state changes. | true |
--execute | boolean | Apply the state-changing operation instead of previewing it. | — |
--expires-in-days | string | Number of days before the generated credential expires. | — |
--name | string | Resource display name. | — |
--show-token | boolean | Print the generated token once after creation. | — |
axhub auth pat unset
로컬에 저장된 활성 PAT을 해제해요.
(옵션 없음)
axhub auth pat use
사용할 PAT을 지정해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<id> | string (인자) | Resource identifier. | — |
axhub auth pat whoami
현재 PAT의 소유자를 확인해요.
(옵션 없음)
axhub auth refresh
액세스 토큰을 갱신해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--no-browser | boolean | Do not open a browser automatically. | — |
--resource | string | Value for the --resource option. Can also be provided via AXHUB_OAUTH_RESOURCE. | — |
--scopes | string | Comma-separated OAuth or token scopes. | — |
axhub auth status
현재 인증 상태를 봐요.
(옵션 없음)
axhub auth whoami
현재 로그인한 계정을 확인해요.
(옵션 없음)
axhub profile
CLI 프로필(접속 환경)을 관리해요.
axhub profile add
새 프로필을 추가해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<name> | string (인자) | Resource display name. | — |
--default | boolean | — | — |
--endpoint | string | AxHub API endpoint URL. | — |
axhub profile current
현재 프로필을 봐요.
(옵션 없음)
axhub profile list
프로필 목록을 봐요.
(옵션 없음)
axhub profile remove
프로필을 삭제해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<name> | string (인자) | Resource display name. | — |
axhub profile use
사용할 프로필로 전환해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<name> | string (인자) | Resource display name. | — |
axhub tenants
회사(테넌트) 조회와 활성 테넌트 선택을 관리해요.
axhub tenants get
회사 상세 정보를 조회해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<slug_or_id> | string (인자) | Stable slug or identifier for the resource. | — |
--tenant | string | Tenant slug or ID used to scope the command. | — |
axhub tenants invite-links
회사 초대 링크를 관리해요.
axhub tenants invite-links accept
초대 링크 토큰으로 회사에 합류해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<token> | string (인자) | Token value or token identifier. | — |
--dry-run | boolean | Preview the operation without applying state changes. | true |
--execute | boolean | Apply the state-changing operation instead of previewing it. | — |
--yes -y | boolean | Assume yes for non-destructive confirmation prompts. | — |
axhub tenants invite-links create
초대 링크를 만들어요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--dry-run | boolean | Preview the operation without applying state changes. | true |
--execute | boolean | Apply the state-changing operation instead of previewing it. | — |
--expires-at | string | Optional RFC3339 expiry timestamp | — |
--tenant | string | Tenant slug or ID used to scope the command. | — |
axhub tenants invite-links list
초대 링크 목록을 봐요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--tenant | string | Tenant slug or ID used to scope the command. | — |
axhub tenants invite-links preview
초대 링크 토큰을 미리 확인해요 (읽기 전용).
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<token> | string (인자) | Token value or token identifier. | — |
axhub tenants invite-links revoke
초대 링크를 철회해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<link_id> | string (인자) | — | — |
--dry-run | boolean | Preview the operation without applying state changes. | true |
--execute | boolean | Apply the state-changing operation instead of previewing it. | — |
--tenant | string | Tenant slug or ID used to scope the command. | — |
--yes -y | boolean | Assume yes for non-destructive confirmation prompts. | — |
axhub tenants whoami
활성 회사에서 내 멤버십 · 역할을 확인해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--tenant | string | Tenant slug or ID used to scope the command. | — |
axhub config
CLI 설정을 확인해요.
axhub config explain
현재 설정값과 그 출처를 설명해요.
(옵션 없음)
axhub doctor
설치 · 인증 · 백엔드 연결을 진단해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
<args> | string (인자) | — | — |
--offline | boolean | Skip the network reachability probe | — |
axhub update
axhub CLI를 업데이트해요.
axhub update apply
업데이트를 적용해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--dry-run | boolean | Preview mode: print the apply plan without downloading or swapping. Defaults true — destructive paths require explicit --execute per .claude/rules/product-development.md "Destructive Command Safety" | true |
--execute | boolean | Commit the apply plan: download, verify, and atomically swap the running binary. Conflicts with --dry-run | — |
--force | boolean | Allow applying an older release that would otherwise be rejected by the downgrade gate. Does NOT bypass cosign verification — a signature/certificate failure still blocks the swap | — |
--yes -y | boolean | Skip the interactive confirmation shown before the binary swap during --execute. Already bypassed under --json, --no-input, --non-interactive, or a non-TTY stdin. No effect in dry-run | — |
axhub update check
업데이트가 있는지 확인해요.
| 플래그 | 타입 | 설명 | 기본값 |
|---|---|---|---|
--plugin-version | string | Also report whether the axhub Claude Code plugin is outdated. The caller (the plugin's skill) passes its installed plugin.json version here; the CLI fetches the published marketplace version and compares. Omitted ⇒ CLI-only check (backward compatible) | — |