Files
iris-context/commands/sys/gltfjsx.go
T
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

24 lines
791 B
Go

package sys
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "gltfjsx",
Description: "GLTF to JSX converter",
Options: []spec.Option{
{Name: "-t", Description: "Add Typescript definitions"},
{Name: "-v", Description: "Verbose output w/ names and empty groups"},
{Name: "-m", Description: "Include metadata (as userData)"},
{Name: "-s", Description: "Let meshes cast and receive shadows"},
{Name: "-w", Description: "Prettier printWidth (default: 120)"},
{Name: "-p", Description: "Number of fractional digits (default: 2)"},
{Name: "-d", Description: "Draco binary path"},
{Name: "-r", Description: "Sets directory from which .gltf file is served"},
{Name: "-D", Description: "Debug output"},
},
})
}