help.go (945B)
1 package help 2 3 import "strings" 4 5 const help = `dqs is designed to help you keep track of your Diet 6 Quality Score, as well as your progress on reaching a target weight. 7 8 The typical use case is to use the *add* command to keep track of 9 portions consumed. By default the application uses the current day, but 10 if you need to catch up on a past date, the -d or -date flags can be 11 used to refer to a past date or entry. For example, if you want to add 12 two fruit portions for today, you can run: 13 14 dqs add fruit 2 15 16 To do the same for a past date -- for example, August 8, 2008 -- you 17 can run: 18 19 dqs -date 20080808 fruit 2 20 21 or 22 23 dqs -d 20080808 fruit 2 24 25 Refer to dqs help add for more information on the *add* command. 26 27 Weight and body fat may be tracked with the body-fat and weight 28 commands. 29 30 To check on progress towards goals, use the dqs report command. 31 ` 32 33 func Help() string { 34 var str strings.Builder 35 36 str.WriteString(help) 37 38 return str.String() 39 }