커맨드 라인 인터페이스(CLI)는 클라우드 콘텐츠 제공(CCD)과 상호작용하기 위한 권장 방식입니다. 이 툴을 사용하면 커맨드 라인을 파일 관리에서 릴리스 파이프라인 구성에 이르기까지 프로젝트의 모든 측면을 제어할 수 있습니다.
개발자 대시보드에서 여러 유사 기능을 수행할 수 있지만, 파일을 버킷에 복사하거나 전체 폴더를 동기화하려면 CLI를 사용해야 합니다.
CLI를 위한 CCD를 설정하려면 다음 단계를 따르십시오.
auth
커맨드를 통해 API 키를 사용하여 CLI에 로그인합니다.이제 CCD를 사용할 준비가 끝났습니다.
CLI에서 CCD 커맨드의 기본 형식은 다음과 같습니다.
$ ucd [command]
다음은 사용할 수 있는 커맨드입니다.
auth
: 콘텐츠 제공을 통해 인증합니다.badges
: 릴리스에 대한 배지를 관리합니다.buckets
: 프로젝트에 대한 배지를 관리합니다.config
: 현재 버킷을 설정하고 식별하기 위한 옵션을 관리합니다.entries
: 현재 버킷에 대한 항목을 관리합니다.releases
: 현재 버킷에 대한 릴리스를 관리합니다.현재 사용하는 CLI 버전을 확인하려면 다음과 같이 --version
플래그를 추가하십시오.
$ ucd --version
모든 커맨드 뒤에 다음의 전역 플래그를 추가할 수 있습니다.
--apikey string
: 콘텐츠 제공에 액세스하기 위한 사용자 지정 API 키입니다.-h
, --help
: 특정 커맨드에 대한 추가 파라미터와 플래그를 표시합니다.-q
, --quiet
: 특정 커맨드가 수행하는 작업의 표시를 비활성화합니다.-v
, --verbose
: 오류 정보를 표시합니다.예제:
$ ucd buckets create [project_id] [bucket_name]
$ ucd buckets list [project_id]
$ ucd config set bucket [bucket_id]
$ ucd entries sync [local_dir_path]
$ ucd entries list
버킷 및 항목 이름은 대소문자를 구분합니다.
CLI를 사용하는 방법에 대한 전체 예제는 커맨드 라인 인터페이스를 통해 CCD 사용을 참조하십시오.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.