mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-21 06:02:13 +00:00
CLI: rename config path subcommand to config file
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
summary: "CLI reference for `openclaw config` (get/set/unset config values)"
|
||||
summary: "CLI reference for `openclaw config` (get/set/unset values and config file path)"
|
||||
read_when:
|
||||
- You want to read or edit config non-interactively
|
||||
title: "config"
|
||||
@@ -7,13 +7,14 @@ title: "config"
|
||||
|
||||
# `openclaw config`
|
||||
|
||||
Config helpers: get/set/unset values by path. Run without a subcommand to open
|
||||
Config helpers: get/set/unset values by path and print the active config file.
|
||||
Run without a subcommand to open
|
||||
the configure wizard (same as `openclaw configure`).
|
||||
|
||||
## Examples
|
||||
|
||||
```bash
|
||||
openclaw config path
|
||||
openclaw config file
|
||||
openclaw config get browser.executablePath
|
||||
openclaw config set browser.executablePath "/usr/bin/google-chrome"
|
||||
openclaw config set agents.defaults.heartbeat.every "2h"
|
||||
@@ -50,6 +51,6 @@ openclaw config set channels.whatsapp.groups '["*"]' --strict-json
|
||||
|
||||
## Subcommands
|
||||
|
||||
- `config path`: Print the active config file path (resolved from `OPENCLAW_CONFIG_PATH` or default location).
|
||||
- `config file`: Print the active config file path (resolved from `OPENCLAW_CONFIG_PATH` or default location).
|
||||
|
||||
Restart the gateway after edits.
|
||||
|
||||
@@ -380,7 +380,7 @@ Interactive configuration wizard (models, channels, skills, gateway).
|
||||
|
||||
### `config`
|
||||
|
||||
Non-interactive config helpers (get/set/unset). Running `openclaw config` with no
|
||||
Non-interactive config helpers (get/set/unset/file). Running `openclaw config` with no
|
||||
subcommand launches the wizard.
|
||||
|
||||
Subcommands:
|
||||
@@ -388,7 +388,7 @@ Subcommands:
|
||||
- `config get <path>`: print a config value (dot/bracket path).
|
||||
- `config set <path> <value>`: set a value (JSON5 or raw string).
|
||||
- `config unset <path>`: remove a value.
|
||||
- `config path`: print the active config file path.
|
||||
- `config file`: print the active config file path.
|
||||
|
||||
### `doctor`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user