13 lines
365 B
Go
13 lines
365 B
Go
|
package main
|
||
|
|
||
|
type generateCmd struct {
|
||
|
Path string `arg:"" help:"Path to the directory with the recipes."`
|
||
|
Output string `default:"dist" help:"Path to the directory where the files will be generated."`
|
||
|
}
|
||
|
|
||
|
var cli struct {
|
||
|
Debug bool `help:"Print debug information."`
|
||
|
|
||
|
Generate generateCmd `cmd:"" help:"Generate the web files for a directory of recipes."`
|
||
|
}
|