diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-09 14:39:54 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-09 14:39:54 +0800 |
| commit | 55a208fdbbc6468b732192bf63ec69877ee20b34 (patch) | |
| tree | 85b1e519a456133e83c3373c4aaf13a29e5b647b /mingling_cli/help | |
| parent | b2001ed62d6a4abd7193daeb5d818395b46433b6 (diff) | |
feat(config): add cfg --pair flag and refactor config path
Add `--pair` flag to output config values as `"key" = "value"` pairs,
and provide escaped formatting for display. Move config path resolution
to a helper function and expose the underlying hash map for rendering
and completion.
Diffstat (limited to 'mingling_cli/help')
| -rw-r--r-- | mingling_cli/help/help.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mingling_cli/help/help.txt b/mingling_cli/help/help.txt index 91a7a7e..dd6ea3d 100644 --- a/mingling_cli/help/help.txt +++ b/mingling_cli/help/help.txt @@ -34,4 +34,5 @@ __ pkg-disable <NAME> *Disable the specified package* __ **CONFIG:** __ cfg <KEY> <VALUE> *Edit the value of a configuration item* __ cfg <KEY> *Print the value of the configuration item; print nothing if it does not exist* +__ cfg <KEY> --pair *Output in the form of `"key" = "value"`* __ cfg *Print all configuration items, can be used with grep for searching* |
