feat(cli): add --home instance directory selector (#6128)

* feat(cli): add --home instance directory selector

* refactor(cli): keep instance home selection command-line only

* fix(cli): clarify WebUI channel confirmation

* docs: condense multiple-instance setup guide

* docs(cli): shorten instance home option help

* docs: remove manual paragraph wrapping
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-10 11:16:53 +08:00
1 parent 98f89c6a43
commit 36c36a1324
14 files changed
+221 -143

No files matched your search

+3
View File
@@ -27,12 +27,15 @@ Use this page when you know what you want to run and need the command shape. For
```bash
nanobot --help
nanobot --version
nanobot --home ~/.nanobot-work onboard
python -m nanobot --help
python -m nanobot --version
```
`python -m nanobot ...` is useful when the package is installed but the `nanobot` script is not on `PATH`.
`--home <directory>` is a global option; place it before the subcommand. It selects `<directory>/config.json` and the default `<directory>/workspace/`. Explicit `--config` and workspace settings still apply. See [Multiple Instances](./multiple-instances.md) for runtime data locations and port selection. `-h` and `--help` display help.
### Coexisting with Nanobot Desktop
The Python package and Nanobot Desktop keep separate runtimes, configuration,