arashi 1.6.0 → 1.7.0
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 +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -94,6 +94,7 @@ Arashi currently provides these commands:
|
|
|
94
94
|
|
|
95
95
|
- `arashi init`
|
|
96
96
|
- `arashi add <git-url>`
|
|
97
|
+
- `arashi clone [--all]`
|
|
97
98
|
- `arashi create <branch>`
|
|
98
99
|
- `arashi list`
|
|
99
100
|
- `arashi status`
|
|
@@ -119,15 +120,19 @@ arashi switch --repos docs # repo-name matching in child repos
|
|
|
119
120
|
|
|
120
121
|
## Hooks
|
|
121
122
|
|
|
122
|
-
Arashi can run lifecycle hooks during `arashi create`
|
|
123
|
+
Arashi can run lifecycle hooks during `arashi create` and `arashi remove`.
|
|
123
124
|
|
|
124
125
|
- Global hooks in `.arashi/hooks/`:
|
|
125
126
|
- `pre-create.sh`
|
|
126
127
|
- `post-create.sh`
|
|
128
|
+
- `pre-remove.sh`
|
|
129
|
+
- `post-remove.sh`
|
|
127
130
|
- Repository-specific hooks:
|
|
128
131
|
- `pre-create.<repo>.sh`
|
|
129
132
|
- `post-create.<repo>.sh`
|
|
130
133
|
|
|
134
|
+
`pre-remove.sh` is useful for teardown before deletion (for example, stopping tmux sessions), and `post-remove.sh` can run final cleanup after remove operations complete.
|
|
135
|
+
|
|
131
136
|
See [`docs/hooks.md`](./docs/hooks.md) for hook behavior, environment variables, and examples.
|
|
132
137
|
|
|
133
138
|
## Workflow Shortcuts
|
|
@@ -197,6 +202,7 @@ Arashi also ships a dedicated `skills.sh` integration package for guided install
|
|
|
197
202
|
## Documentation
|
|
198
203
|
|
|
199
204
|
- Installation details: [`docs/INSTALLATION.md`](./docs/INSTALLATION.md)
|
|
205
|
+
- Clone command details: [`docs/commands/clone.md`](./docs/commands/clone.md)
|
|
200
206
|
- Hook behavior: [`docs/hooks.md`](./docs/hooks.md)
|
|
201
207
|
- Setup command details: [`docs/commands/setup.md`](./docs/commands/setup.md)
|
|
202
208
|
- Switch command details: [`docs/commands/switch.md`](./docs/commands/switch.md)
|