RAGit
명령어Doc

doc create

표준 타입 문서를 생성합니다

무엇을 하는 명령인가

doc createadr, spec, plan, pbd 같은 표준 문서를 올바른 템플릿과 canonical path 처리 규약으로 생성합니다.

기본 구문

pnpm ragit doc create --type <type> --title <title> \
  [--path <repo-relative-path>] \
  [--dry-run] [--format text|json|both]

핵심 포인트

  • 임의 Markdown 파일이 아니라 durable project document를 만들고 싶을 때 사용합니다.
  • --dry-run은 target path와 template 계획만 계산하고 실제 파일은 쓰지 않습니다.
  • JSON 출력에는 docType, path, canonicalPath, usedTemplate, reconcile이 포함됩니다.