dotweave init
sync 디렉터리를 새로 만들거나 기존 디렉터리에 연결해요.
git 기반 sync 디렉터리를 초기화해요.
dotweave 앱 데이터 디렉터리 아래에 로컬 dotweave 저장소를 만들거나 연결한 뒤, 이후 pull과 push에서 사용할 sync 설정을 저장해요. repository 인자를 생략하면 sync 디렉터리에 로컬 git 저장소를 새로 만들어요.
Usage
섹션 제목: “Usage”dotweave init [repository]Arguments
섹션 제목: “Arguments”| Argument | Description |
| -------------- | -------------------------------------------------------- |
| [repository] | clone할 원격 URL 또는 로컬 git 저장소 경로예요. 생략하면 새 로컬 저장소를 만들어요. |
Flags
섹션 제목: “Flags”| Flag | Description |
| --------------------------- | -------------------------------------------------------------- |
| --key <age-private-key> | age 개인 키를 identity 파일에 저장해요. |
| --promptKey | age 개인 키를 자동 생성하지 않고 직접 입력받아요. |
Examples
섹션 제목: “Examples”새 로컬 sync 디렉터리를 초기화해요:
dotweave init원격 저장소를 clone해서 sync 디렉터리로 사용해요:
dotweave init https://github.com/user/dotfiles.git기존 age secret key로 초기화해요:
dotweave init --key "AGE-SECRET-KEY-1..."