- 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
19 lines
587 B
Go
19 lines
587 B
Go
package js
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/spec"
|
|
)
|
|
|
|
func init() {
|
|
spec.Register(&spec.Spec{
|
|
Name: "create-web3-frontend",
|
|
Description: "Quickly create a Next.js project with wagmi and TailwindCSS ready to go",
|
|
Options: []spec.Option{
|
|
{Name: "--ts", Description: "Initialize as a TypeScript project"},
|
|
{Name: "--use-npm", Description: "Explicitly tell the CLI to bootstrap the app using npm"},
|
|
{Name: "--use-pnpm", Description: "Explicitly tell the CLI to bootstrap the app using pnpm"},
|
|
{Name: "-h", Description: "Display help for command"},
|
|
},
|
|
})
|
|
}
|