feat(config): add config get subcommand with suggestions
This commit is contained in:
parent
cc19ee5c0f
commit
6bba227654
3 changed files with 66 additions and 1 deletions
13
testdata/config-get.ct
vendored
Normal file
13
testdata/config-get.ct
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
$ pda config get display_ascii_art
|
||||
true
|
||||
|
||||
$ pda config get store.default_store_name
|
||||
default
|
||||
|
||||
$ pda config get git.auto_commit
|
||||
false
|
||||
|
||||
# Unknown key with suggestion
|
||||
$ pda config get git.auto_comit --> FAIL
|
||||
FAIL unknown config key 'git.auto_comit'
|
||||
hint did you mean 'git.auto_commit'?
|
||||
Loading…
Add table
Add a link
Reference in a new issue