- 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
19 lines
463 B
Go
19 lines
463 B
Go
package sys
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/spec"
|
|
)
|
|
|
|
func init() {
|
|
spec.Register(&spec.Spec{
|
|
Name: "login",
|
|
Description: "Begin session on the system",
|
|
Options: []spec.Option{
|
|
{Name: "-p", Description: "Preserve environment"},
|
|
{Name: "-r", Description: "Perform autologin protocol for rlogin"},
|
|
{Name: "-h", Description: "Specify host"},
|
|
{Name: "-f", Description: "Don't authenticate user, user is preauthenticated"},
|
|
},
|
|
})
|
|
}
|