You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): make 0pflow alias the root command and always update plugin
The shell alias now points to `npx -y --prefer-online 0pflow@dev` (without
`run`) so that `0pflow install`, `0pflow uninstall`, etc. all work.
`0pflow run` now always reinstalls the plugin to keep it in sync.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Create a shell alias so users can just type `0pflow run`:
32
32
```bash
33
-
alias 0pflow='npx -y --prefer-online 0pflow@dev run'
33
+
alias 0pflow='npx -y --prefer-online 0pflow@dev'
34
34
```
35
35
Use `--prefer-online` to ensure npx always re-resolves the `@dev` tag and pulls the latest build. For production, switch to `@latest` once we have a stable release channel.
36
36
@@ -133,7 +133,7 @@ The `npx` command shown to users after install doesn't suppress warnings. Change
133
133
134
134
### 13. ~~Consider global CLI install~~ — Decided against
135
135
136
-
We want "always fresh" — every invocation should pull the latest dev build. The bash script sets up a shell alias (`alias 0pflow='npx -y --prefer-online 0pflow@dev run'`) which handles this. A global install would require explicit `npm update -g` to get new versions.
136
+
We want "always fresh" — every invocation should pull the latest dev build. The bash script sets up a shell alias (`alias 0pflow='npx -y --prefer-online 0pflow@dev'`) which handles this. A global install would require explicit `npm update -g` to get new versions.
0 commit comments