Added cli for general usage of Vikunja #66

Merged
konrad merged 7 commits from feature/cli into master 2019-03-24 17:15:45 +00:00
2 changed files with 2 additions and 4 deletions
Showing only changes of commit 172decd2ed - Show all commits

View File

@ -42,9 +42,7 @@ alpine areas of the Andes and a relative of the llama.
Vikunja is a self-hosted To-Do list application with a web app and mobile apps for all platforms. It is licensed under the GPLv3.
Find more info at vikunja.io.`,
Run: func(cmd *cobra.Command, args []string) {
// Do Stuff Here
},
Run: webCmd.Run,
}
func Execute() {

View File

@ -36,7 +36,7 @@ func init() {
var webCmd = &cobra.Command{
Use: "web",
Short: "Runs the api web server",
Short: "Starts the rest api web server",
Run: func(cmd *cobra.Command, args []string) {
// Set logger