- 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
23 lines
758 B
Go
23 lines
758 B
Go
package sys
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/spec"
|
|
)
|
|
|
|
func init() {
|
|
spec.Register(&spec.Spec{
|
|
Name: "klist",
|
|
Description: "Credential cache to list",
|
|
Options: []spec.Option{
|
|
{Name: "-c", Description: "Credential cache to list"},
|
|
{Name: "--cache", Description: "Credential cache to list"},
|
|
{Name: "-s", Description: "Display AFS tokens"},
|
|
{Name: "-5", Description: "Display v5 cred cache (this is the default)"},
|
|
{Name: "-f", Description: "Include ticket flags in short form, each character stands for a specific flag"},
|
|
{Name: "-v", Description: "Verbose output. Include all possible information"},
|
|
{Name: "-l", Description: "JSON formatted output"},
|
|
{Name: "--hidden", Description: "Verbose output"},
|
|
},
|
|
})
|
|
}
|