Skip to content

Quick Start

김재영 edited this page Apr 16, 2026 · 1 revision

Quick Start

가장 덜 귀찮은 시작 순서는 auth setupauth login → 첫 API 호출입니다.

1. 대화형 설정

naverworks auth setup

설정 저장 후 바로 로그인까지 이어서 진행할 수 있습니다.

2. 로그인

OAuth 2.0:

naverworks auth login

JWT Service Account:

naverworks auth login --jwt

현재 상태 확인:

naverworks auth status

3. 첫 호출

조직 사용자 목록:

naverworks directory list-users --count 20

Bot 메시지 전송:

naverworks bot send --to USER_ID --text "배포 완료"

일정 조회:

naverworks calendar list-events \
  --user-id me \
  --calendar-id CALENDAR_ID \
  --from 2026-03-01T00:00:00Z \
  --until 2026-03-31T23:59:59Z

드라이브 파일 목록:

naverworks drive list --user-id me

메일 전송:

naverworks mail send \
  --user-id me \
  --to user@example.com \
  --subject "배포 완료" \
  --body "운영 반영 끝"

프로필 분리, 수동 설정, 환경변수 우선순위는 Authentication and ProfilesConfiguration Keys and Environment Variables를 보면 됩니다.

Clone this wiki locally