Documentation ¶
Index ¶
- Constants
- func CommandName(args []string) string
- func GitLFSAuthenticateCommand() *cobra.Command
- func GitLFSTransfer() *cobra.Command
- func GitReceivePackCommand() *cobra.Command
- func GitUploadArchiveCommand() *cobra.Command
- func GitUploadPackCommand() *cobra.Command
- func InfoCommand() *cobra.Command
- func IsPublicKeyAdmin(cfg *config.Config, pk ssh.PublicKey) bool
- func JWTCommand() *cobra.Command
- func PubkeyCommand() *cobra.Command
- func RepoCommand(renderer *lipgloss.Renderer) *cobra.Command
- func SetUsernameCommand() *cobra.Command
- func SettingsCommand() *cobra.Command
- func TokenCommand() *cobra.Command
- func UsageFunc(c *cobra.Command) error
- func UserCommand() *cobra.Command
Constants ¶
const ( // UsageTemplate is the template used for the help output. UsageTemplate = `` /* 1412-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func CommandName ¶
CommandName returns the name of the command from the args.
func GitLFSAuthenticateCommand ¶
GitLFSAuthenticateCommand returns a cobra command for git-lfs-authenticate.
func GitLFSTransfer ¶
GitLFSTransfer returns a cobra command for git-lfs-transfer.
func GitReceivePackCommand ¶
GitReceivePackCommand returns a cobra command for git-receive-pack.
func GitUploadArchiveCommand ¶
GitUploadArchiveCommand returns a cobra command for git-upload-archive.
func GitUploadPackCommand ¶
GitUploadPackCommand returns a cobra command for git-upload-pack.
func InfoCommand ¶
InfoCommand returns a command that shows the user's info
func IsPublicKeyAdmin ¶
IsPublicKeyAdmin returns true if the given public key is an admin key from the initial_admin_keys config or environment field.
func JWTCommand ¶
JWTCommand returns a command that generates a JSON Web Token.
func PubkeyCommand ¶
PubkeyCommand returns a command that manages user public keys.
func RepoCommand ¶
RepoCommand returns a command for managing repositories.
func SetUsernameCommand ¶
SetUsernameCommand returns a command that sets the user's username.
func SettingsCommand ¶
SettingsCommand returns a command that manages server settings.
func TokenCommand ¶
TokenCommand returns a command that manages user access tokens.
Types ¶
This section is empty.