install.sh: add --only and --skip flags for subset installs
This commit is contained in:
@@ -19,6 +19,16 @@ chmod +x install.sh
|
||||
|
||||
Each `.ts` file in `extensions/` is symlinked into `~/.pi/agent/extensions/`. Existing real files are backed up with a timestamp. Re-runs are idempotent.
|
||||
|
||||
**Install a subset:**
|
||||
|
||||
```bash
|
||||
./install.sh --only ssh-controlmaster # just this one
|
||||
./install.sh --only "ssh-controlmaster,other" # explicit list
|
||||
./install.sh --skip "git-checkpoint" # all except these
|
||||
```
|
||||
|
||||
`--only` and `--skip` accept comma-separated names without the `.ts` suffix. `--only` takes precedence if both are given.
|
||||
|
||||
### Alternative: pi install (local path)
|
||||
|
||||
Because `package.json` declares a `pi` manifest, you can also register this repo as a pi package:
|
||||
|
||||
Reference in New Issue
Block a user