feat(doctor): initial doctor command
This commit is contained in:
parent
ce7336324f
commit
0c5b73154d
4 changed files with 138 additions and 0 deletions
7
testdata/doctor.ct
vendored
Normal file
7
testdata/doctor.ct
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Doctor reports environment health
|
||||
$ pda doctor
|
||||
info Using default configuration
|
||||
ok Data directory accessible
|
||||
ok Identity file present
|
||||
info Git not initialised
|
||||
ok 5 store(s)
|
||||
2
testdata/help.ct
vendored
2
testdata/help.ct
vendored
|
|
@ -36,6 +36,7 @@ Git commands:
|
|||
|
||||
Additional Commands:
|
||||
completion Generate the autocompletion script for the specified shell
|
||||
doctor Check environment health
|
||||
help Help about any command
|
||||
version Display pda! version
|
||||
|
||||
|
|
@ -79,6 +80,7 @@ Git commands:
|
|||
|
||||
Additional Commands:
|
||||
completion Generate the autocompletion script for the specified shell
|
||||
doctor Check environment health
|
||||
help Help about any command
|
||||
version Display pda! version
|
||||
|
||||
|
|
|
|||
1
testdata/root.ct
vendored
1
testdata/root.ct
vendored
|
|
@ -35,6 +35,7 @@ Git commands:
|
|||
|
||||
Additional Commands:
|
||||
completion Generate the autocompletion script for the specified shell
|
||||
doctor Check environment health
|
||||
help Help about any command
|
||||
version Display pda! version
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue