-
Notifications
You must be signed in to change notification settings - Fork 0
/
help.go
17 lines (15 loc) · 958 Bytes
/
help.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main
var helpVersion = "v0.1"
var helpMsg = `
RedGen generates profiles for demonstration accounts
config start Starts running the app, validate and send readings
config version Show andy version
config preview "filename.json" Show sample consumptions for the date
config profile Path to demonstration profile file
config generate Generate a new profile configuration with the default name
config generate "my_new_config.json" Generate a new profile configuration with the name
config send "readings_file.json" Send the readings in the file to the API server
config show "readings_file.json" --date=2017-03-01 Show the consumption for the particular day
config validate Validates all the configuration files in the profiles folder
config validate "my_new_config.json" Validate the provided configuration file
config init Create a default profile file `