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

+10 -4
View File
@@ -9,6 +9,10 @@ import (
"os"
)
var (
version = "1.0.0"
)
func main() {
defineConfigurationPath()
initCommands()
@@ -16,12 +20,14 @@ func main() {
func initCommands() {
app := cli.NewApp()
app.Usage = "cfg updater"
app.Usage = "isp configurations updater"
app.UsageText =
` ispctl status [flag...]
ispctl get [flag...] module_name [property_path]
ispctl set [flag...] module_name [property_path] [new_object]
ispctl delete [flag...] module_name [property_path]`
ispctl get [flag...] module_name property_path
ispctl set [flag...] module_name property_path [new_object]
ispctl delete [flag...] module_name property_path`
app.Version = version
app.Flags = []cli.Flag{
flag.Host,