@riebeckite/cli 0.0.29 → 0.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -39,6 +39,7 @@ riebeckite build [--full]
39
39
  riebeckite clean [--output | --all]
40
40
  riebeckite profile [--full]
41
41
  riebeckite inspect [config | plugins | content [--list] | graph | build]
42
+ riebeckite create theme [<name>] [--template <id>] [--features <ids>] [--list]
42
43
  ```
43
44
 
44
45
  ## Commands
@@ -52,6 +53,7 @@ riebeckite inspect [config | plugins | content [--list] | graph | build]
52
53
  | `clean` | Remove managed state (`.riebeckite/`); `--output` removes only the build output, `--all` removes both | no |
53
54
  | `profile` | Run tracing-based performance reporting; `--full` uses a full path | build-dependent |
54
55
  | `inspect` | Display factual resolved state (`config`, `plugins`, `content`, `graph`, `build`) | no |
56
+ | `create theme` | Generate a local Theme from the public Theme API | writes local files |
55
57
 
56
58
  `doctor` continues independent checks where possible and exits unsuccessfully
57
59
  when health checks fail. `inspect` is deliberately read-only and never triggers
@@ -63,6 +65,11 @@ state root (`.riebeckite/`), with `--output` the build output, and with `--all`
63
65
  both. Missing targets are not an error, so it is safe to run from scripts and CI.
64
66
  Run `clean --all` before `build` to force a cold build (a cache directory configured outside `.riebeckite/` is not removed).
65
67
 
68
+ `create theme` writes an isolated local Theme under `themes/<name>/`. Use
69
+ `--list` to see templates, `--features` for optional public-hook styling, and
70
+ `--register` to conservatively update a recognizable Theme factory in the site
71
+ config. See [Theme Generator](../../docs/docs/themes/generator.md).
72
+
66
73
  ## Typical workflow
67
74
 
68
75
  ```sh
@@ -77,4 +84,3 @@ pnpm exec riebeckite build
77
84
  - [CLI Reference](../../docs/docs/reference/cli.md)
78
85
  - [Build System](../../docs/docs/framework/build-system.md)
79
86
  - [Diagnostics](../../docs/docs/framework/diagnostics.md) / [Framework Inspector](../../docs/docs/framework/inspector.md)
80
-
package/README_ja.md CHANGED
@@ -32,6 +32,7 @@ riebeckite build [--full]
32
32
  riebeckite clean [--output | --all]
33
33
  riebeckite profile [--full]
34
34
  riebeckite inspect [config | plugins | content [--list] | graph | build]
35
+ riebeckite create theme [<name>] [--template <id>] [--features <ids>] [--list]
35
36
  ```
36
37
 
37
38
  ## コマンド
@@ -45,11 +46,14 @@ riebeckite inspect [config | plugins | content [--list] | graph | build]
45
46
  | `clean` | 管理対象の状態(`.riebeckite/`)を削除する。`--output` は Build 出力のみ、`--all` は両方を削除する | いいえ |
46
47
  | `profile` | トレースに基づく性能レポートを実行する。`--full` は全体を対象にする | ビルドの実行による |
47
48
  | `inspect` | 解決済みの状態を事実として表示する(`config`、`plugins`、`content`、`graph`、`build`) | いいえ |
49
+ | `create theme` | 公開 Theme API に沿ったローカル Theme を生成する | ローカルファイルを書き込む |
48
50
 
49
51
  `doctor` は独立したチェックを可能な限り続行し、ヘルスチェックに失敗すると非ゼロで終了します。`inspect` は読み取り専用で、ビルドの実行や状態の書き込みは行いません。出力の読み方は [Diagnostics](../../docs/docs/framework/diagnostics.ja.md) と [Framework Inspector](../../docs/docs/framework/inspector.ja.md) を参照してください。
50
52
 
51
53
  `clean` は Riebeckite が管理する成果物だけを削除します。option なしでは managed state root(`.riebeckite/`)、`--output` では Build 出力、`--all` では両方を削除します。対象が存在しなくてもエラーにならないため、script や CI から安全に実行できます。cold build を行う場合は `clean --all` の後に `build` を実行します(cache directory を別の場所に設定している場合、その場所は削除対象に含まれません)。
52
54
 
55
+ `create theme` は分離されたローカル Theme を `themes/<name>/` に生成します。`--list` でテンプレートを確認し、`--features` で公開 Hook の追加スタイルを選択できます。`--register` は認識できる Theme factory だけを安全にサイト設定へ登録します。詳しくは [Theme Generator](../../docs/docs/themes/generator.ja.md) を参照してください。
56
+
53
57
  ## 典型的な流れ
54
58
 
55
59
  ```sh
@@ -64,4 +68,3 @@ pnpm exec riebeckite build
64
68
  - [CLI Reference](../../docs/docs/reference/cli.ja.md)
65
69
  - [Build System](../../docs/docs/framework/build-system.ja.md)
66
70
  - [Diagnostics](../../docs/docs/framework/diagnostics.ja.md) / [Framework Inspector](../../docs/docs/framework/inspector.ja.md)
67
-