dotweave track
ローカルファイルやディレクトリを同期対象として登録します。
ローカルファイルやディレクトリを同期対象として登録します。
ホームディレクトリ内のファイルやディレクトリを1つ以上登録し、dotweaveがsyncディレクトリにミラーリングできるようにします。すでにtrackされているターゲットの場合は、modeが更新されます。trackされたディレクトリ内のリポジトリパスを指定して、特定のmodeを持つ子エントリを作成することもできます。
dotweave track <targets...> [flags]Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
<targets...> | trackするローカルパスまたはリポジトリパスを1つ以上指定します。 |
| Flag | Description |
|---|---|
--mode <mode> | syncモード: normal(デフォルト)、secret、ignore のいずれかです。 |
--profiles <names> | 同期を特定のprofileに限定します(カンマ区切り)。 |
--repoPath <path> | profileディレクトリ配下のリポジトリ相対パスです。 |
--verbose | 詳細な出力を表示します。 |
Examples
Section titled “Examples”設定ファイルをtrackする:
dotweave track ~/.config/starship.tomlsecretを含むディレクトリをtrackする:
dotweave track ~/.ssh --mode secret特定のprofileに限定してファイルをtrackする:
dotweave track ~/.config/work-proxy.conf --profiles worktrackされたディレクトリ内の子パスのmodeを上書きする:
dotweave track .ssh/config --mode ignore