This page is generated from the public contract. Descriptions are shown in the original Korean.
stly auth login#
브라우저 승인 User 로그인 또는 명시적 JSON 로그인
- HTTP request:
POST /api/auth/cli-login - Authentication modes: None
- Changes records: Yes
Options
| Name | Type | Required | Description |
|---|---|---|---|
--fields | string | No | 응답 최상위 필드, 쉼표로 구분 Values: current_organization_id, organizations, user, next_steps |
--force | boolean | No | 유효한 저장 세션이 있어도 새 브라우저 승인 시작 |
--input | string | No | JSON 원문 파일 또는 stdin(-) |
--no-browser | boolean | No | URL·코드만 안내하고 브라우저 자동 열기 생략 |
Common options: --server, --env-file, --timeout, --dry-run
Behavior
- POST /api/auth/cli-login
- 브라우저 /cli-login에서 코드 확인·명시적 승인
- POST /api/auth/cli-login/poll
- 독립 CLI 세션 저장
- stly auth status
- stly org list · stly org select <id>
Example
stly auth loginstly auth logout#
User 로그아웃
- HTTP request:
POST /api/auth/logout - Authentication modes: User session
- Changes records: Yes
Options
| Name | Type | Required | Description |
|---|---|---|---|
--fields | string | No | 응답 최상위 필드, 쉼표로 구분 |
Common options: --server, --env-file, --timeout, --auth-mode, --dry-run
Example
stly auth logoutstly auth signup#
User 회원가입
- HTTP request:
POST /api/auth/signup - Authentication modes: None
- Changes records: Yes
- Input JSON (
--input) required
Check the input JSON structure with stly schema auth signup.
Options
| Name | Type | Required | Description |
|---|---|---|---|
--input | string | Yes | JSON 원문 파일 또는 stdin(-) |
--fields | string | No | 응답 최상위 필드, 쉼표로 구분 Values: current_organization_id, organizations, user |
Common options: --server, --env-file, --timeout, --dry-run
Example
stly auth signup --input input.jsonstly auth status#
토큰 우선·User 세션 자동 선택 상태 확인
- HTTP request:
- Authentication modes: User session, Agent token
- Changes records: No
Options
Common options: --server, --env-file, --timeout, --auth-mode
Example
stly auth status