Files
iris-context/commands/js/create_completion_spec.go
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
500 B
Go

package js
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "create-completion-spec",
Description: "Setup fig folder and create spec with the given name",
Subcommands: []spec.Subcommand{
{Name: "help", Description: "Display help for command"},
},
Options: []spec.Option{
{Name: "--here", Description: "Set if the spec should be created in the current folder"},
{Name: "-h", Description: "Display help for command"},
},
})
}