mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Add command-line help for Todoist module
This commit is contained in:
parent
f079e4c4f0
commit
e5214ec54b
@ -7,6 +7,7 @@ import (
|
|||||||
"github.com/senorprogrammer/wtf/github"
|
"github.com/senorprogrammer/wtf/github"
|
||||||
"github.com/senorprogrammer/wtf/textfile"
|
"github.com/senorprogrammer/wtf/textfile"
|
||||||
"github.com/senorprogrammer/wtf/todo"
|
"github.com/senorprogrammer/wtf/todo"
|
||||||
|
"github.com/senorprogrammer/wtf/todoist"
|
||||||
"github.com/senorprogrammer/wtf/weatherservices/weather"
|
"github.com/senorprogrammer/wtf/weatherservices/weather"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -28,6 +29,8 @@ func helpFor(moduleName string) string {
|
|||||||
return textfile.HelpText
|
return textfile.HelpText
|
||||||
case "todo":
|
case "todo":
|
||||||
return todo.HelpText
|
return todo.HelpText
|
||||||
|
case "todoist":
|
||||||
|
return todoist.HelpText
|
||||||
case "weather":
|
case "weather":
|
||||||
return weather.HelpText
|
return weather.HelpText
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user