settings

Settings

$ ./osctrl-cli settings -h
NAME:
   osctrl-cli settings - Commands for settings

USAGE:
   osctrl-cli settings command [command options] [arguments...]

COMMANDS:
   add, a     Add a new settings value
   update, u  Update a configuration value
   delete, d  Delete an existing configuration value
   show, s    Show all configuration values
   help, h    Shows a list of commands or help for one command

OPTIONS:
   --help, -h  show help

Add setting

$ ./osctrl-cli settings add -h
NAME:
   osctrl-cli settings add - Add a new settings value

USAGE:
   osctrl-cli settings add [command options] [arguments...]

OPTIONS:
   --name value, -n value     Value name to be added
   --service value, -s value  Value service to be added
   --type value, -t value     Value type to be added
   --string value             Value string
   --integer value            Value integer (default: 0)
   --boolean                  Value boolean (default: false)
   --info value, -i value     Setting info
   --help, -h                 show help

Update setting

$ ./osctrl-cli settings update -h
NAME:
   osctrl-cli settings update - Update a configuration value

USAGE:
   osctrl-cli settings update [command options] [arguments...]

OPTIONS:
   --name value, -n value     Value name to be updated
   --service value, -s value  Value service to be updated
   --type value, -t value     Value type to be updated
   --string value             Value string
   --integer value            Value integer (default: 0)
   --true                     Value boolean true (default: false)
   --false                    Value boolean false (default: false)
   --info value, -i value     Setting info
   --help, -h                 show help

Delete setting

$ ./osctrl-cli settings delete -h
NAME:
   osctrl-cli settings delete - Delete an existing configuration value

USAGE:
   osctrl-cli settings delete [command options] [arguments...]

OPTIONS:
   --name value, -n value     Value name to be deleted
   --service value, -s value  Value service to be deleted
   --help, -h                 show help

Show settings

$ ./osctrl-cli settings show -h
NAME:
   osctrl-cli settings show - Show all configuration values

USAGE:
   osctrl-cli settings show [command options] [arguments...]

OPTIONS:
   --help, -h  show help