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.
zk/cmd/new.go

12 lines
204 B
Go

package cmd
import "github.com/mickael-menu/zk/core/zk"
type New struct {
Directory string `arg optional name:"directory" default:"."`
}
func (cmd *New) Run() error {
return zk.Open(cmd.Directory)
}