Files
VERSE ebde9ba68f refactor(commands): separate commands and its core into two folders (#32)
- 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
2026-07-05 11:27:30 +07:00

20 lines
595 B
Go

package js
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "create-next-app",
Description: "Output the version number",
Options: []spec.Option{
{Name: "-V", Description: "Output the version number"},
{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: "-e", Description: "Display help for command"},
},
})
}