명령어 (Commands)
이 페이지는 Backstage CLI가 제공하는 모든 명령을 나열합니다. 각 명령은 CLI 모듈에 속합니다.
출처: 문서
본문
이 페이지는 Backstage CLI가 제공하는 모든 명령을 나열합니다. 각 명령은 CLI 모듈에 속하며, 옵션과 예시를 포함한 자세한 문서는 아래 링크를 따라가세요.
help
이 명령은 각 명령에 대한 도움말 요약 또는 상세 도움말 화면을 표시합니다. 아래는 yarn backstage-cli --help의 정리된 출력입니다.
new [options] Open up an interactive guide to creating new things in your appauth [command] Authentication commandsactions [command] Backstage action commandsconfig:docs [options] Browse the configuration reference documentationconfig:print [options] Print the app configuration for the current packageconfig:check [options] Validate that the given configuration loads and matches schemaconfig:schema [options] Print configuration schemarepo [command] Commands that run across an entire Backstage projectpackage [command] Lifecycle scripts for individual packagesmigrate [command] Migration utilitiesversions:bump [options] Bump Backstage packages to the latest versionsversions:migrate [options] Migrate plugins to the @backstage-community namespacetranslations [command] Translation message managementbuild-workspace <workspace-dir> [packages...] Builds a temporary dist workspace from the provided packagescreate-github-app <github-org> Create new GitHub App in your organization.info Show helpful information for debugging and reporting bugshelp [command] display help for command
모듈별 명령 (Commands by Module)
Auth 모듈 (Auth Module)
| Command |
Description |
auth login |
Backstage 인스턴스에 CLI 로그인 |
auth logout |
로그아웃하고 저장된 자격 증명 지우기 |
auth show |
인증된 인스턴스의 세부 정보 표시 |
auth list |
인증된 인스턴스 목록 표시 |
auth print-token |
액세스 토큰을 stdout으로 출력 |
auth select |
기본 인스턴스 선택 |
Actions 모듈 (Actions Module)
| Command |
Description |
actions list |
구성된 플러그인 소스에서 사용 가능한 작업 나열 |
actions execute |
작업 실행 |
actions sources add |
작업 발견을 위한 플러그인 소스 추가 |
actions sources list |
구성된 플러그인 소스 나열 |
actions sources remove |
플러그인 소스 제거 |
Build 모듈 (Build Module)
| Command |
Description |
repo start |
로컬 개발을 위해 패키지 시작 |
repo build |
프로젝트에서 패키지 빌드 |
repo clean |
프로젝트 전체에서 캐시 및 출력 디렉터리 삭제 |
package start |
로컬 개발을 위해 패키지 시작 |
package build |
프로덕션 배포 또는 게시를 위해 패키지 빌드 |
package bundle |
동적 로딩을 위해 플러그인 번들(실험적) |
package clean |
캐시 디렉터리 삭제 |
package prepack |
게시 전 패키징을 위해 패키지 준비 |
package postpack |
prepack이 만든 변경 복원 |
build-workspace |
제공된 패키지에서 임시 dist 워크스페이스 빌드 |
Config 모듈 (Config Module)
| Command |
Description |
config:docs |
구성 참조 문서 탐색 |
config:print |
앱 구성 출력 |
config:check |
구성이 로드되고 스키마와 일치하는지 검증 |
config:schema |
구성 스키마 출력 |
GitHub 모듈 (GitHub Module)
| Command |
Description |
create-github-app |
조직에 새 GitHub App 생성 |
Info 모듈 (Info Module)
| Command |
Description |
info |
디버깅 및 버그 보고에 유용한 정보 표시 |
Lint 모듈 (Lint Module)
| Command |
Description |
package lint |
패키지 린트 |
repo lint |
프로젝트의 모든 패키지 린트 |
Maintenance 모듈 (Maintenance Module)
| Command |
Description |
repo fix |
프로젝트의 패키지 자동 수정 |
repo list-deprecations |
폐기 항목 목록 표시 |
Migrate 모듈 (Migrate Module)
| Command |
Description |
versions:bump |
Backstage 패키지를 최신 버전으로 업그레이드 |
versions:migrate |
플러그인을 @backstage-community 네임스페이스로 마이그레이션 |
migrate package-roles |
패키지에 package role 필드 추가 |
migrate package-scripts |
각 패키지 역할에 따라 패키지 스크립트 설정 |
migrate package-exports |
패키지 하위 경로 내보내기 정의 동기화 |
migrate package-lint-configs |
@backstage/cli/config/eslint-factory로 마이그레이션 |
migrate react-router-deps |
react-router 의존성을 peer 의존성으로 마이그레이션 |
New 모듈 (New Module)
| Command |
Description |
new |
앱에 새로운 것을 만드는 대화형 가이드 열기 |
Test 모듈 (Test Module)
| Command |
Description |
repo test |
프로젝트 전반에서 테스트 실행 |
package test |
단일 패키지에 대한 테스트 실행 |
Translations 모듈 (Translations Module)
| Command |
Description |
translations export |
번역 메시지를 JSON 파일로 내보내기 |
translations import |
번역 리소스 연결 코드 생성 |
Yarn 패키지 관리자 모듈 (Yarn Package Manager Module)
| Command |
Description |
pm verify-patches |
Yarn 패치 참조와 상태 검증 |
더 알아보기 (Learn more)