add(readme)
This commit is contained in:
1 parent
9078060e65
commit
a54239f971
9 files changed
+343
-7
No files matched your search
+6
-1
@@ -13,7 +13,7 @@ import (
|
||||
func Set() cli.Command {
|
||||
return cli.Command{
|
||||
Name: "set",
|
||||
Usage: "set configuration info",
|
||||
Usage: "set configuration by module_name",
|
||||
Action: set.action,
|
||||
}
|
||||
}
|
||||
@@ -37,6 +37,11 @@ func (s setCommand) action(c *cli.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
pathObject, ok := checkPath(pathObject)
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
|
||||
if changeObject == "" {
|
||||
fmt.Print("Enter new value: ")
|
||||
scanner := bufio.NewScanner(os.Stdin)
|
||||
|
||||
Reference in new issue
Block a user