DAMDA Docs
  • DAMDA Overview
  • Quick Start
    • 개발환경 구성하기
    • Hello DAMDA 따라하기
    • ThinQ 연결하기
    • 내 컴포넌트 로그 확인하기
    • 내 컴포넌트 원격 제어하기
  • FUNDAMENTALS
    • DAMDA 기기
      • DAMDA Installer
        • DAMDA Installer 설치하기
        • DAMDA 설치하기
        • DAMDA 삭제하기
        • DAMDA Installer 삭제하기
      • DAMDA Debugging Console
      • DAMDA Home
        • 기기 등록 하기
        • 기기 등록 해제하기
      • Custom Sub Device
        • Capability
        • Profile
        • Functions
    • DAMDA Cloud
      • 계정 관리
        • 계정 생성하기
        • 기타
      • 컴포넌트 관리
        • DAMDA Components
        • 컴포넌트 초기화하기
        • 컴포넌트 개발하기
        • 컴포넌트 생성하기
        • 컴포넌트 배포하기
    • DAMDA Tools
      • DAMDA CLI
        • Configuration
        • Component
        • Device
        • Deployment
      • DAMDA Simulator
  • REFERENCE
    • API Reference
      • ThinQ API
        • APIs
          • ThinQ 계정 등록
          • 사용자 홈 목록 가져오기
          • 사용자 기기 목록 가져오기
          • 기기 등록하기
          • 기기 정보 가져오기
          • 기기 제어하기
          • 기기 삭제하기
          • 기기 정보 전달하기
        • Error / Exceptions
      • Hub API
        • APIs
          • 지원 기기타입 가져오기
          • 기기 profile 가져오기
          • Capability 가져오기
          • 서브 디바이스 등록하기
          • 서브 디바이스 삭제하기
          • 등록 / 삭제 결과 확인하기
          • 서브 디바이스 리스트 조회
          • 서브 디바이스 정보 조회
          • 서브 디바이스 상태 조회
          • 서브 디바이스 제어
          • 제어 결과 확인
          • 서브 디바이스 상태 모니터링
          • 전체 서브 디바이스 상태 모니터링
        • Types
          • Device
          • DeviceState
      • 가전 API
        • 가전 상태 조회
        • 가전 제어
        • APIs
          • 공통 | Headers
          • 공통 | Response
          • 공통 | Error
          • 가전 목록 조회
          • 가전 상태 조회
          • 가전 Profile 조회
          • 가전 제어
          • EMP Access Token 발급
          • Event/Push Callback (Websocket)
        • Types
          • Device Type
          • Device Profile
      • webOS TV API
        • TV 리스트 조회
        • TV 등록
        • Custom SSAP Command
        • Control
          • ON/OFF
          • Channel
          • Audio
          • App
          • UI 및 기타
        • Remote
        • Subscribe
    • Samples
      • Hello DAMDA
      • ThinQ 연결하기
      • Debugging App
      • 가전 App
      • Proto Sub Device
      • TV화면 캡쳐 + AWS Rekognition
      • DAMDA Hub
Powered by GitBook
On this page
  • configure
  • Command
  • Usage
  • get-configuration
  • Command
  • Usage
  • list-configurations
  • Command
  • Usage
  • delete-configuration
  • Command
  • Usage
  1. FUNDAMENTALS
  2. DAMDA Tools
  3. DAMDA CLI

Configuration

Commands to manage DAMDA account information so that you can use functions such as component creation/deletion/deployment by accessing the DAMDA cloud with the DAMDA CLI

configure

Commands to set up a DAMDA account.

Command

$ damda configure [OPTIONS]
# OPTIONS:
#   --profile TEXT: [default:default]

Usage

Case 1) set up an DAMDA account with the default profile

$ damda configure
DAMDA ID [default]: <Enter DAMDA ID>
DAMDA P/W[default]: <Enter DAMDA P/W>

Case 2) set up an DAMDA account with the default profile

$ damda configure --profile test
DAMDA ID [test]: <Enter DAMDA ID>
DAMDA P/W[test]: <Enter DAMDA P/W

get-configuration

Command to get DAMDA account information for a specific profile.

Command

$ damda get-configuration [OPTIONS]
# OPTIONS:
#    --profile TEXT: [default: default]

Usage

Case 1) set up an DAMDA account with the default profile

$ damda get-configuration
{'id': '<DAMDA ID>', 'pw': '<DAMDA P/W>'}

Case 2)set up an DAMDA account with the default profile

$ damda get-configuration --profile test
{'id': '<DAMDA ID>', 'pw': '<DAMDA P/W>'}

list-configurations

Retrieves a list of profiles. This list contains only profile names.

Command

$ damda list-configurations

Usage

$ damda list-configurations
['default', 'test']

delete-configuration

Delete the configuration for a specific profile

Command

$ damda delete-configuration [OPTIONS]
# Options:
#    --profile TEXT: [required]

Usage

# The profile option is required for this command.
$ damda delete-configuration --profile default
PreviousDAMDA CLINextComponent

Last updated 2 years ago