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