CLI Referencelore publish

lore publish

생성된 .lore/flows/*.mdLore Boardcontent/projects/<project>/flows/ 로 동기화합니다.

lore publish [--target <path|git>] [--mode direct|pr] [--branch main] [--dry-run]

모드

direct (기본 · 권장)

로컬 경로

lore publish --target ~/dev/projects/onboarding/lore-board

파일을 복사하고 끝. 커밋·푸시는 사람이.

Git URL (v0.2 — 현재는 로컬 경로 권장)

lore publish --target git@github.com:terracelab/lore-board.git --branch main

pr (opt-in · 리뷰 강제 조직)

lore publish --mode pr --target git@github.com:terracelab/lore-board.git

임시 브랜치 생성 → push → PR 자동 open.

보호 경로

다음 경로는 항상 스킵 (덮어쓰지 않음):

  • content/handbook/**
  • content/projects.json

lore.config.yamlpublish.skipPaths 로 추가 가능.

Config

publish:
  target: ~/dev/projects/onboarding/lore-board
  branch: main
  project: airpoint
  mode: direct
  authorName: 'Lore Bot'
  authorEmail: 'lore@terracelab.co.kr'
  prefix: 'chore(docs): sync'
  skipPaths:
    - content/handbook/**
    - content/projects.json