- 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
21 lines
609 B
Go
21 lines
609 B
Go
package cc
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/spec"
|
|
)
|
|
|
|
func init() {
|
|
spec.Register(&spec.Spec{
|
|
Name: "xcode-select",
|
|
Description: "Active developer directory for Xcode tools",
|
|
Options: []spec.Option{
|
|
{Name: "-h", Description: "Help message"},
|
|
{Name: "-p", Description: "Display path to active developer directory"},
|
|
{Name: "-s", Description: "Set path to active developer directory"},
|
|
{Name: "--install", Description: "Install Xcode command line tools"},
|
|
{Name: "-v", Description: "Display version"},
|
|
{Name: "-r", Description: "Reset to the default CLT path"},
|
|
},
|
|
})
|
|
}
|