18 lines
263 B
Go
18 lines
263 B
Go
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
|
|
}
|