Files
iris-context/commands/ops/arch.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

22 lines
832 B
Go

package ops
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "arch",
Description: "32-bit intel",
Options: []spec.Option{
{Name: "-arch", Description: "Print architecture type or run select architecture"},
{Name: "-32", Description: "Add the native 32-bit architecture to the list of architectures"},
{Name: "-64", Description: "Add the native 64-bit architecture to the list of architectures"},
{Name: "-c", Description: "Clear the environment that will be passed to the command"},
{Name: "-d", Description: "Delete the named environment variable from the command's environment"},
{Name: "-e", Description: "Assign the given value to the variable in the command's environment"},
{Name: "-h", Description: "Print a help message and exit"},
},
})
}