Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CloneRepo = func(url string) error { fmt.Printf("Cloning repository: %s\n", url) _, err := git.PlainClone("./temp", false, &git.CloneOptions{ URL: url, Progress: os.Stdout, }) if err != nil { return fmt.Errorf("failed to clone repository: %w", err) } return nil }
CloneRepo clones a git repository
View Source
var ReleaseEndpoint = "https://api.github.com/repos/ploycloud/ploy-server-cli/releases/latest"
Functions ¶
func CheckForUpdates ¶
func FindComposeFile ¶
func FindComposeFile() string
func GetVersion ¶ added in v0.5.0
func GetVersion() string
func SelfUpdate ¶
Types ¶
type GitRelease ¶
Click to show internal directories.
Click to hide internal directories.