- I think it would be better if one for commands only, one for the spec handling core logic so people won't be confused by the core logic inside the commands folder (cleaner I guess) - Regen docs
20 lines
457 B
Go
20 lines
457 B
Go
package sys
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/spec"
|
|
)
|
|
|
|
func init() {
|
|
spec.Register(&spec.Spec{
|
|
Name: "degit",
|
|
Description: "Straightforward project scaffolding",
|
|
Options: []spec.Option{
|
|
{Name: "--help", Description: "Print help"},
|
|
{Name: "-f", Description: "Overwrite existing files"},
|
|
{Name: "-c", Description: "Use a cache"},
|
|
{Name: "-v", Description: "Be verbose?"},
|
|
{Name: "-m", Description: "Clone mode"},
|
|
},
|
|
})
|
|
}
|