Initial Commit
This commit is contained in:
17
cmd/cmd.go
Normal file
17
cmd/cmd.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/urfave/cli"
|
||||
)
|
||||
|
||||
var CmdServe = cli.Command{
|
||||
Name: "serve",
|
||||
Usage: "Start Imagini web server.",
|
||||
Action: serveWeb,
|
||||
}
|
||||
|
||||
func serveWeb(ctx *cli.Context) error {
|
||||
fmt.Println("hello world")
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user