add(readme)
This commit is contained in:
1 parent
9078060e65
commit
a54239f971
9 files changed
+343
-7
No files matched your search
+6
-1
@@ -10,7 +10,7 @@ import (
|
||||
func Get() cli.Command {
|
||||
return cli.Command{
|
||||
Name: "get",
|
||||
Usage: "get configuration info by module_name",
|
||||
Usage: "get configuration by module_name",
|
||||
Action: get.action,
|
||||
}
|
||||
}
|
||||
@@ -32,6 +32,11 @@ func (g getCommand) action(c *cli.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
pathObject, ok := checkPath(pathObject)
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
|
||||
if pathObject == "" {
|
||||
printAnswer(moduleConfiguration.Data)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user