Documentation
¶
Overview ¶
Package cmd provides the command-line interface commands for the eph CLI tool. It includes commands for file operations, configuration management, and utility functions for interacting with the ephemeralfiles.com service.
Index ¶
Constants ¶
View Source
const ( // GithubRepository is the GitHub repository identifier for self-updates. GithubRepository = "ephemeralfiles/eph" // DefaultEndpoint is the default API endpoint for ephemeralfiles. DefaultEndpoint = "https://api.ephemeralfiles.com" )
View Source
const (
// WritablePermission is the file permission used for checking write access.
WritablePermission = 0666
)
Variables ¶
This section is empty.
Functions ¶
func GenerateBinaryURL ¶
GenerateBinaryURL generates the download URL for a binary from GitHub releases.
func IsLastVersion ¶
IsLastVersion checks if the actual version is the last version from github.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.