Files
iris-context/commands/git/svn.go
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

36 lines
1.6 KiB
Go

package git
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "svn",
Description: "Specify a username ARG",
Subcommands: []spec.Subcommand{
{Name: "help", Description: "Show help for svn"},
{Name: "subcommand", Description: "Help about specific subcommand"},
{Name: "status", Description: "Show the working tree status"},
{Name: "info", Description: "Show information about a local or remote item"},
{Name: "checkout", Description: "Check out a working copy from a repository"},
{Name: "repository", Description: "The repository you want to checkout"},
{Name: "commit", Description: "Commit to a repository"},
},
Options: []spec.Option{
{Name: "--password", Description: "Specify a password ARG"},
{Name: "--password-from-stdin", Description: "Read password from stdin"},
{Name: "--no-auth-cache", Description: "Do not cache authentication tokens"},
{Name: "--non-interactive", Description: "Do interactive prompting even if standard input is not a terminal device"},
{Name: "--trust-server-cert", Description: "Specify a password ARG"},
{Name: "--trust-server-cert-failures", Description: "Specify a password ARG"},
{Name: "--config-dir", Description: "Read user configuration files from directory ARG"},
{Name: "--config-option", Description: "Specify a password ARG"},
{Name: "-m", Description: "Use the given message as the commit message"},
{Name: "--version", Description: "Show help for svn"},
{Name: "--verbose", Description: "Show help for svn"},
{Name: "--quiet", Description: "Show help for svn"},
},
})
}