Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandArgs ¶
type CommandArgs struct { GitlabUsername string GitlabKeyId string SshArgs []string CommandType CommandType }
func Parse ¶
func Parse(arguments []string) (*CommandArgs, error)
type CommandType ¶
type CommandType string
const ( Discover CommandType = "discover" TwoFactorRecover CommandType = "2fa_recovery_codes" LfsAuthenticate CommandType = "git-lfs-authenticate" ReceivePack CommandType = "git-receive-pack" UploadPack CommandType = "git-upload-pack" UploadArchive CommandType = "git-upload-archive" )
Click to show internal directories.
Click to hide internal directories.