add(readme)

This commit is contained in:
DeniskaRediska committed 2019-07-17 14:01:02 +03:00
1 parent 9078060e65
commit a54239f971
9 files changed
+343 -7

No files matched your search

+6 -1
View File
@@ -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)