@astrale-os/cli 1.0.0-beta.2 → 1.0.0-beta.4

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
@@ -162,3 +162,18 @@ bun cli/bin/astrale.ts <command>
162
162
  # Build the CLI
163
163
  pnpm -C cli build
164
164
  ```
165
+
166
+ ### Testing local changes live: `astrale-dev`
167
+
168
+ When developing inside the [workspace](https://github.com/astrale-os/workspace),
169
+ `astrale` stays the official released CLI. To run your local CLI source live
170
+ (no build, no global link), use `astrale-dev`:
171
+
172
+ ```bash
173
+ astrale-dev <command> # execs `bun <workspace>/cli/bin/astrale.ts` of the
174
+ # workspace/worktree you are currently in
175
+ ```
176
+
177
+ It resolves the workspace from your current directory, so each worktree runs its
178
+ own source, and outside a workspace it refuses (use `astrale`). It is installed
179
+ by the workspace's `./scripts/init-machine.sh`.