cmd

package
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

func GetGitSSHCommandEnv

func GetGitSSHCommandEnv(user string, proxyName string) (*model.GitAccount, []string, error)

func GetSSHServerConfig added in v1.10.0

func GetSSHServerConfig(sshServerName string) (*model.SSHAccount, error)

GetSSHServerConfig retrieves SSH server configuration by name

func ReplaceRemotePath

func ReplaceRemotePath(slice []string, server model.SSHAccount) error

Types

type GitHubUserInfoResponse

type GitHubUserInfoResponse struct {
	ID      uint64
	Login   string
	Blog    *string
	Name    *string
	Company *string
	Email   *string
}

type ProxyConfig added in v1.10.0

type ProxyConfig struct {
	SocksHost string
	SocksPort string
	HttpHost  string
	HttpPort  string
}

ProxyConfig holds parsed proxy configuration

func GetProxyConfig added in v1.10.0

func GetProxyConfig(proxyName string) (*ProxyConfig, error)

GetProxyConfig retrieves and parses proxy configuration by name

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL