mirror of https://github.com/mickael-menu/zk
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
284 B
Go
19 lines
284 B
Go
4 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/alecthomas/kong"
|
||
|
"github.com/mickael-menu/zk/cmd"
|
||
|
)
|
||
|
|
||
|
var cli struct {
|
||
|
Init cmd.Init `cmd help:"Create a slip box in the given directory"`
|
||
|
}
|
||
|
|
||
|
func main() {
|
||
|
ctx := kong.Parse(&cli,
|
||
|
kong.Name("zk"),
|
||
|
)
|
||
|
err := ctx.Run()
|
||
|
ctx.FatalIfErrorf(err)
|
||
|
}
|