1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Add help strings from h-r

This commit is contained in:
Sean Smith
2019-07-05 12:16:55 -04:00
parent 1f82d26ac2
commit f4f2901e58
10 changed files with 38 additions and 40 deletions

View File

@@ -10,12 +10,12 @@ const defaultTitle = "Rollbar"
type Settings struct {
common *cfg.Common
accessToken string
activeOnly bool
assignedToName string
count int
projectName string
projectOwner string
accessToken string `help:"Your Rollbar project access token (Only needs read capabilities)."`
activeOnly bool `help:"Only show items that are active." optional:"true"`
assignedToName string `help:"Set this to your username if you only want to see items assigned to you." optional:"true"`
count int `help:"How many items you want to see. 100 is max." optional:"true"`
projectName string `help:"This is used to create a link to the item."`
projectOwner string `help:"This is used to create a link to the item."`
}
func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings {