LogoBricksmith

CLI 사용법

Bricksmith CLI 명령어 상세 가이드

CLI 사용법#

명령어 목록#

명령어설명
create새 프로젝트 생성
create-from-config저장된 설정으로 프로젝트 생성
apply기존 프로젝트에 feature 브릭 적용
sync템플릿 프로젝트를 브릭으로 동기화
diffFeature 비교 분석
update레거시 프로젝트 업데이트

create#

bricksmith create --type monorepo [options]

옵션#

옵션설명기본값
--type프로젝트 타입monorepo
--name프로젝트명-
--featuresFeature 목록기본 세트
--backend백엔드 타입serverpod
--save-config설정 저장false
--no-interactive비대화형 모드false

기본 Feature 세트#

--features 미지정 시 기본 포함:

  • app_router, dashboard, home, mypage, notification, onboarding

apply#

bricksmith apply --feature <name> [options]

옵션#

옵션설명기본값
--feature단일 feature-
--features복수 feature-
--backendbackend 포함true
--primary-entity주요 entity명brick 기본값
--secondary-entity보조 entity명brick 기본값
--dry-run미리보기false
--force덮어쓰기false

sync#

bricksmith sync --type monorepo --project-dir template/my_project

diff#

bricksmith diff --project-a template/project_a --feature auth --full-analysis