- 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
718 B
Go
21 lines
718 B
Go
package sys
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/spec"
|
|
)
|
|
|
|
func init() {
|
|
spec.Register(&spec.Spec{
|
|
Name: "install",
|
|
Description: "Use suffix as the backup suffix if -b is given",
|
|
Options: []spec.Option{
|
|
{Name: "-B", Description: "Use suffix as the backup suffix if -b is given"},
|
|
{Name: "-b", Description: "Create directories. Missing parent directories are created as required"},
|
|
{Name: "-f", Description: "Specify a group. A numeric GID is allowed"},
|
|
{Name: "-M", Description: "Disable all use of mmap(2)"},
|
|
{Name: "-m", Description: "Specify an owner. A numeric UID is allowed"},
|
|
{Name: "-p", Description: "Causes install to show when -C actually installs something"},
|
|
},
|
|
})
|
|
}
|