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

Even more help settings

Blitz through g
Clean up a setting that no longer exists for gcal
This commit is contained in:
Sean Smith
2019-07-04 11:40:53 -04:00
parent c82b6d8f94
commit 5f57edb212
6 changed files with 38 additions and 40 deletions

View File

@@ -12,9 +12,9 @@ const defaultTitle = "Gitter"
type Settings struct {
common *cfg.Common
apiToken string
numberOfMessages int
roomURI string
apiToken string `help:"Your GitterPersonal Access Token."`
numberOfMessages int `help:"Maximum number of (newest) messages to be displayed. Default is 10" optional:"true"`
roomURI string `help:"The room you want to display." values:"Example: wtfutil/Lobby"`
}
func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings {