Skip to content

CLI 레퍼런스 ​

npx projectops는 기존 프로젝트에 워크플로우, 이슈·PR 템플릿, Agent Skills를 설치하고 업데이트하는 유일한 공식 경로입니다. Node.js 20.12 이상만 있으면 별도 설치 없이 실행됩니다. (macOS · Linux · Windows 공통)

한눈에 보기 ​

하고 싶은 일실행할 것
질문에 답하며 설치한다npx projectops
질문 없이 한 줄로 설치한다npx projectops --mode full --type spring --force
Agent Skills만 설치한다npx projectops --mode skills
설치 상태를 점검한다 (읽기 전용)npx projectops --mode doctor
모든 옵션을 한 번에 본다 (AI agent용 JSON)npx projectops --mode options --json

대화형 마법사 ​

프로젝트 폴더에서 npx projectops만 실행하면 됩니다. 아래는 샘플 Spring 프로젝트에서 실제로 실행한 화면입니다.

npx projectops 대화형 마법사 실행 화면

마법사는 이 순서로 묻습니다. 대부분 기본값이 추천값이라 Enter만 눌러도 끝납니다.

순서질문무엇을 정하나
1무엇을 설치할까요?전체 설치, 버전 관리, 워크플로우, 이슈·PR 템플릿, AI 스킬 중 선택
2(자동) 프로젝트 감지build.gradle, pubspec.yaml 같은 마커 파일로 타입(spring, flutter, react 등)과 버전, 브랜치를 알아냅니다
3프로젝트 성격서버·앱을 배포하는지, 라이브러리를 배포하는지에 따라 이후 질문을 줄입니다
4실행물 배포 방식Docker + SSH 서버 배포(기본), Vercel, 배포 안 함
5PR 댓글 방식변경 요약, 코드 리뷰(CodeRabbit), 둘 다, 사용 안 함
6개발(릴리스 소스) 브랜치개발을 모아 기본 브랜치로 올리는 브랜치(기본 develop). 없으면 만들고 원격 push까지 제안합니다
7배포 브랜치push되면 배포 워크플로(스토어 업로드, 서버 배포)가 도는 브랜치. 기본값은 기본 브랜치이고, deploy처럼 따로 둘 수 있습니다. 없으면 알려 주고 만들지 물어봅니다(기본 아니요). 처음 push하면 배포가 돈다고 경고합니다
8Secret 서버 백업 워크플로우포함 여부
9배포 환경 값서비스 이름, 도메인, JDK 버전 등. "기본값 그대로 전부 설치"를 고를 수 있습니다
10AI 에이전트 스킬Claude Code, Cursor, Gemini CLI, Codex CLI, GitHub Copilot, PI, omp(oh-my-pi)에 함께 설치할지

선택한 값은 전부 version.yml의 metadata.template.options.*에 저장되어, 다음 실행(업데이트) 때 다시 묻지 않습니다.

한 줄 실행 (비대화형) ​

CI나 스크립트에서는 --force로 모든 확인을 건너뛰고 기본값을 씁니다. 설치가 끝난 뒤 --mode doctor로 상태를 확인하는 흐름입니다.

비대화형 설치와 doctor 진단 실행 화면

bash
npx projectops --mode full --type spring,react --force
npx projectops --mode workflows --type flutter --paths "flutter=app"
npx projectops --deploy docker-ssh --publish nexus,npm
npx projectops --intent library

모드 ​

--mode 값은 무엇을 설치하느냐를 정합니다. 생략하면 대화형으로 실행됩니다.

모드하는 일
full워크플로우 + version.yml + 이슈·PR 템플릿 + Skills 전체 통합
versionversion.yml만
workflows워크플로우만
issues이슈·PR 템플릿만
skillsAgent Skills만
doctor통합 상태와 저장소 설정 진단 (읽기 전용, 아무것도 바꾸지 않음)

옵션 ​

옵션설명
-m, --mode MODE위 모드 중 하나. 기본은 대화형
-t, --type CSV프로젝트 타입. 예: spring,react,python. 지원 값은 아래 생성된 표에 있습니다 (next는 react로 흡수됨 — Next.js는 react)
--project-version V통합 대상의 초기 버전(예: 1.0.0). 생략하면 자동 감지
--paths "t=p,..."타입별 프로젝트 경로(모노레포). 예: flutter=app,react=client
--intent KIND프로젝트 성격: app library both none manual. 생략하면 --deploy/--publish에서 추정. library/none은 배포 질문을, app/none은 publish 질문을 건너뜁니다
--deploy TARGET배포 방식 택1: docker-ssh(기본) vercel none
--publish CSVpublish 대상: nexus,npm,github-packages (기본 없음)
--deploy-branch NAME릴리스 PR의 head 브랜치(기본 develop). 기본(배포) 브랜치와는 별개입니다
--deploy-trigger-branch NAMEpush되면 배포 워크플로우가 도는 브랜치. 기본 브랜치와 다를 때만 지정 (기본: 기본 브랜치)
--create-development-branch비대화형 실행에서 개발 브랜치가 없으면 기본 브랜치에서 만들고 origin에 push. 이미 있으면 아무것도 하지 않고, push 때 자격 증명을 묻지 않아 로그인이 필요한 원격이면 기다리지 않고 바로 실패하며, push가 실패해도 실행은 계속되고 직접 실행할 명령을 안내합니다 (기본 꺼짐)
--secret-backup / --no-secret-backupSecret 백업 워크플로우 포함 / 제외
--ai-summary / --no-ai-summaryPR 변경 요약 워크플로우 포함 / 제외
--coderabbit / --no-coderabbitCodeRabbit PR 코드 리뷰 설정(.coderabbit.yaml) 설치 (--mode full 에서만). CodeRabbit GitHub 앱이 따로 필요하고, 이미 있는 파일은 .bak 으로 백업하고 덮어쓴다. 생략하면 꺼짐(version.yml 에 켜짐이 저장돼 있으면 유지). 릴리스 노트와는 무관
--projects-sync / --no-projects-syncGitHub Projects 상태 동기화 워크플로우 포함 / 제외 (신규 설치 기본 제외, 이미 설치돼 있으면 유지)
--ci-minutes-saver / --no-ci-minutes-saver비공개 레포의 Actions 사용 시간 절약: CI는 PR에서만 돌고 문서만 바뀐 변경은 건너뜀. iOS 빌드·Secret 백업은 수동 실행에서만 (기본 꺼짐)
--language LANG레포에 쓰이는 이슈/PR 템플릿·봇 문구 언어: en ko. 신규 설치 기본 en, 기존 설치는 저장값(없으면 ko)
--label-style STYLE상태 라벨 표기: en(status: todo) ko(기존 작업전). 신규 설치 기본 en
--lang LANGCLI 화면 언어: en ko. 레포에 쓰이는 문구(--language)와 다르다. 기본은 시스템 언어, CI·--force 에서는 en
--remove-legacy은퇴한 구세대 배포 워크플로우를 .bak으로 치움 (기본은 목록·삭제 명령만 안내)
--json--mode options와 함께 — 사람이 아닌 기계가 읽는 JSON 출력
--force, -y, --yes모든 확인을 생략하고 비대화형 기본값 사용
-v, --versionprojectops 버전 출력
-h, --help도움말

--nexus, --npm-publish(와 --no-nexus, --no-npm-publish)는 더 이상 쓰지 않는 옵션입니다. 각각 --publish nexus, --publish npm을 쓰세요.

모바일 앱 타입(flutter, react-native, react-native-expo)은 배포·publish 질문 자체를 건너뜁니다. flutter와 react-native-expo는 스토어 배포 워크플로우가 타입에 포함돼 있고, react-native(bare)는 앱 워크플로우가 없습니다. 자세한 규칙은 NPX 마법사 가이드를 보세요.

전체 옵션 레퍼런스 ​

모든 플래그와 version.yml 키를 값·기본값과 함께 정리한 표입니다. src/core/options-schema.js에서 생성합니다. npx projectops --mode options --json과 같은 원본입니다. 원본 설명이 영어라 아래 표도 영어입니다. 원본을 고치면 node scripts/build_options_reference.mjs로 다시 만듭니다.

CLI flags ​

Flagversion.yml keyValues / defaultDescription
-m, --mode MODEvalues: interactive full version workflows issues skills doctor options; default: interactiveWhat to do. Agents and CI should always pass an explicit non-interactive mode together with --force.
-t, --type CSVvalues: flutter spring python react react-native react-native-expo node basic; default: auto-detectedProject types, comma separated. The first one is the primary type.
--project-version VERSIONdefault: auto-detectedInitial version of the target project (x.y.z).
--paths type=path,...project_pathsdefault: repo rootPer-type project folders for monorepos, e.g. flutter=app,react=client.
--intent KINDmetadata.template.options.intentvalues: app library both none manual; default: inferred from --deploy/--publishProject kind. Decides whether deploy and publish questions are asked.
--deploy TARGETmetadata.template.options.deployvalues: docker-ssh vercel none; default: docker-sshWhere the app is deployed. Pick one.
--publish CSVmetadata.template.options.publishvalues: nexus npm github-packages; default: noneRegistries a library is published to. Several allowed.
--deploy-branch NAMEmetadata.development_branchdefault: developDevelopment branch: the head of the release PR. Not the repository default branch.
--deploy-trigger-branch NAMEmetadata.template.options.deploy_trigger_branchdefault: the default branchBranch whose push runs the deploy workflows. Only when it differs from the default branch.
--create-development-branchdefault: offNon-interactive runs: create the development branch from the default branch and push it to origin when it does not exist.
--language LANGmetadata.template.options.languagevalues: en ko; default: en for new installs, ko for existing installsLanguage of issue/PR templates and bot messages written into the repo.
--label-style STYLEmetadata.template.options.label_stylevalues: en ko; default: en for new installs, ko for existing installsStatus label names: en = 'status: todo', ko = legacy Korean names.
--secret-backup, --no-secret-backupmetadata.template.options.secret_backupdefault: excludedInclude / exclude the workflow that uploads GitHub Secrets to a server over SSH.
--ai-summary, --no-ai-summarymetadata.template.options.code_review.ai_summarydefault: includedInclude / exclude the workflow that comments an AI summary on work PRs.
--coderabbit, --no-coderabbitmetadata.template.options.code_review.coderabbitdefault: off unless version.yml already says onInstall the CodeRabbit code review config (.coderabbit.yaml). Only --mode full installs it.
--projects-sync, --no-projects-syncmetadata.template.options.projects_syncdefault: excluded for new installs; kept if already installedInclude / exclude the GitHub Projects status sync workflow. Needs a PAT secret and PROJECT_URL variable.
--ci-minutes-saver, --no-ci-minutes-savermetadata.template.options.ci_minutes_saverdefault: offCut GitHub Actions minutes for private repos: CI runs on PRs only and skips docs-only changes, the iOS (macOS) CI build runs only on manual dispatch, secret backup runs only on manual dispatch.
--remove-legacydefault: offRename retired old-generation workflows to .bak. Without it they are only listed in the summary and in doctor.
-y, --yes, --forcedefault: offSkip every confirmation and use non-interactive defaults. Required for agents and CI.
--lang LANGvalues: en ko; default: system language; pinned to en in CI and with --forceLanguage of the CLI screen. Not the language written into the repo (that is --language).
--jsondefault: offWith --mode options: print machine-readable JSON instead of a table.
-v, --versionPrint the projectops package version and exit.
-h, --helpPrint the human-readable help and exit.
--nexus, --no-nexus(deprecated) Use --publish nexus. Also implies --deploy none.
--npm-publish, --no-npm-publish(deprecated) Use --publish npm.

version.yml keys ​

KeyTypeValues / defaultSet byDescription
versionstringworkflow-managedProject version (x.y.z). The single source of truth; workflows sync it into build files.
version_codeintegerworkflow-managedApp build number. +1 on every release. Android release only; iOS and test builds use build_number.py.
project_typesstring[]wizardProject types; the first is primary. Do not change after setup.
project_pathsmapwizard (--paths)Per-type project folder relative to the repo root (monorepo).
metadata.default_branchstringdefault: mainwizardRepository default (production) branch. Pushes here deploy.
metadata.development_branchstringdefault: developwizard (--deploy-branch)Development branch: head of the release PR. Old name deploy_branch is still read and written with the same value.
metadata.template.options.intentenumvalues: app library both none manualwizard (--intent)Project kind; derives the deploy and publish questions.
metadata.template.options.deployenumvalues: docker-ssh vercel none; default: docker-sshwizard (--deploy)Where the app is deployed.
metadata.template.options.publishenum[]values: nexus npm github-packages; default: []wizard (--publish)Library registries.
metadata.template.options.secret_backupbooleandefault: falsewizard (--secret-backup)Secret-to-server upload workflow installed.
metadata.template.options.semver_autobooleandefault: trueby handDecide the release bump from commit titles: 'type!:' = major, 'feat:' = minor, anything else = patch. Applies both to the release PR and to direct pushes to the default branch.
metadata.template.options.close_on_releasebooleandefault: true for new installs; missing for existing installsby handA release merge closes issues that carry the done label and are referenced by a release commit.
metadata.template.options.languageenumvalues: en kowizard (--language)Issue/PR template and bot message language.
metadata.template.options.deploy_trigger_branchstringdefault: the default branchwizard (--deploy-trigger-branch)Branch whose push runs the deploy workflows (app store, server, package publish).
metadata.template.options.ci_minutes_saverbooleandefault: falsewizard (--ci-minutes-saver)Install the CI workflows in their Actions-minutes-saving form (PR-only CI, docs-only changes skipped, iOS CI build and secret backup on manual dispatch only).
metadata.template.options.label_styleenumvalues: en kowizard (--label-style)Status label names.
metadata.template.options.projects_syncbooleanwizard (--projects-sync)Projects status sync workflow installed.
metadata.template.options.app_releasebooleanby handReleases go through App Store / Play Store review. Release notes get a review warning banner. Never auto-enabled.
metadata.template.options.excluded_workflowsstring[]by handWorkflow file names the update must never install. Deleted files are also not restored; a copy is kept in .github/.projectops/incoming/.
metadata.template.options.store_localesstring[]by handStore release-note languages, first is the default (for example ["ko-KR", "en-US", "ja-JP", "zh-CN"]). Missing = one text for every store language, as before. Per-language text comes from store_notes in CHANGELOG.json; a language without text gets the default-language text (the stores reject an empty What's New).
metadata.template.options.store_locales_iosstring[]by handOnly when the App Store languages differ from store_locales: the App Store uses this list instead. fastlane deliver ACTIVATES every language folder the app version does not have yet, so a language the App Store listing lacks must not be in this list.
metadata.template.options.store_locales_playstring[]by handOnly when the Play languages differ from store_locales: Google Play uses this list instead.
metadata.template.options.code_review.coderabbitbooleanwizardCodeRabbit config installed.
metadata.template.options.code_review.ai_summarybooleandefault: truewizard (--ai-summary)AI PR summary workflow installed.
metadata.template.options.changelog.providerenumvalues: copilot coderabbit openai gemini claude groq mistral ollama commit; default: commitby handRelease note generator. 'commit' is free and always works; AI keys are picked up automatically when registered as secrets.
metadata.template.options.changelog.base_urlstringby handOnly for provider ollama.
metadata.template.options.test_build_notesmapby handTester notes of Firebase App Distribution and TestFlight test builds: sections (build, issue, changes; order kept) and max_changes (default 20).
metadata.template.options.knowledgemapby handKnowledge capture switch for the pro-brain skill: enabled, path (default knowledge/), capture (issue-end | session-end | merge | manual), capture_events (report, issue-done, session-end, merge, deploy, manual), capture_runner (agent | existing-ci | server), capture_source (source id), optional claude_md, schema, repo_notes (false = notes go only to brains), sync_branch, team_brain (mcp_name, optional mcp_url, contact, write: sync | direct; never a token) or none, legacy brain_mcp, note_dir, template, rules, check, skip. Shared with everyone who clones the repo; personal destinations live in the user config.
metadata.template.options.evidencemapby handResult evidence check when an issue is finished as done: level (warn | block | off, default warn) and kinds (image, run_link, log_excerpt, test_table, no_evidence_reason; default all).

진단 — doctor ​

--mode doctor는 파일을 쓰지 않고 상태만 점검합니다.

  • 이 폴더에 템플릿이 설치돼 있는지, 설치된 워크플로우가 몇 개인지
  • 치환되지 않은 값(__APPLICATION_YML_DIR__ 같은 자리)이 남아 배포 때 실패할 곳은 없는지
  • 자동으로 실행되는(push, 라벨 등) 워크플로우에 예시 값(your-..., example.com)이 남아 실행될 때마다 실패할 곳은 없는지
  • 설치된 워크플로우가 요구하는 Secret 목록
  • 워크플로우 permissions 선언 여부

GITHUB_TOKEN 환경변수를 주면 저장소 설정(권한, 머지 방식, Secret)까지 점검합니다.

bash
GITHUB_TOKEN=ghp_... npx projectops --mode doctor

다시 실행하면 (업데이트) ​

이미 통합한 프로젝트에서 다시 실행하면 업데이트로 동작합니다.

  • 내가 고친 워크플로우는 덮어쓰지 않습니다. 건너뛰고, 새 템플릿을 .github/.projectops/incoming/에 저장한 뒤 비교 명령을 안내합니다.
  • 실행 기록이 남습니다. .github/.projectops/logs/에 로그와 이벤트, 마이그레이션 가이드가 쌓이고 이 폴더는 git 추적에서 자동으로 제외됩니다. 문제가 생기면 AI 에이전트에게 "실행 로그 확인해줘"라고 요청하면 됩니다.
  • 이름이 바뀐 옛 워크플로우는 자동으로 정리됩니다. 자세한 정책은 NPX 마법사 가이드의 마이그레이션 절을 보세요.

구 template_integrator.sh / .ps1은 지원이 종료되어 저장소에서 제거됐습니다. npx projectops를 쓰세요. (상세)