Files
iris-context/commands/sys/klist.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

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"},
},
})
}