From 55a208fdbbc6468b732192bf63ec69877ee20b34 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 9 Aug 2026 14:39:54 +0800 Subject: 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. --- mingling_cli/help/help.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'mingling_cli/help') 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 *Disable the specified package* __ **CONFIG:** __ cfg *Edit the value of a configuration item* __ cfg *Print the value of the configuration item; print nothing if it does not exist* +__ cfg --pair *Output in the form of `"key" = "value"`* __ cfg *Print all configuration items, can be used with grep for searching* -- cgit