콘텐츠로 이동

suya repo

suya repo는 프로젝트를 GitHub 리포지토리에 연결합니다 — 스타터 스캐폴드와 함께 새 리포지토리를 생성하거나 이미 보유한 리포지토리를 연결합니다. GitHub App 설치를 포함한 엔드 투 엔드 흐름은 GitHub 리포지토리 연결을 참조하십시오.

새 GitHub 리포지토리를 생성하고 스타터 스캐폴드를 푸시합니다.

Terminal window
suya repo create --installation <installation-id> --name my-design
Flag Description
--installation <id> 리포지토리를 생성할 GitHub App 설치.
--name <n> 선택적 리포지토리 이름.
--project <id> 연결할 프로젝트. 기본값은 .subaya/config.toml.

기존 GitHub 리포지토리를 프로젝트에 연결합니다.

Terminal window
suya repo connect --installation <installation-id> --owner <owner> --repo <repo>
Flag Description
--installation <id> 리포지토리에 접근 권한이 있는 GitHub App 설치.
--owner <o> 리포지토리 소유자(사용자 또는 조직).
--repo <r> 리포지토리 이름.
--project <id> 연결할 프로젝트. 기본값은 .subaya/config.toml.

연결된 리포지토리와 현재 구성 상태를 표시합니다.

Terminal window
suya repo status