Documentation
¶
Index ¶
- Constants
- func BuildCommand()
- func CleanCommand()
- func Confirm(message string) bool
- func CreateCommand()
- func FileExists(path string) bool
- func GetInput(prompt string) string
- func InstallCommand()
- func PrintBanner()
- func PrintDivider()
- func PrintError(message string)
- func PrintInfo(message string)
- func PrintStep(step int, total int, message string)
- func PrintSuccess(message string)
- func PrintWarning(message string)
- func RunCommand()
- func ShowHelp()
- func ShowVersion()
- func StatusCommand()
Constants ¶
View Source
const ( // URL del repositorio de GitHub GITHUB_REPO = "attomos07/Atomic-Library" GITHUB_BRANCH = "main" TEMPLATES_URL = "https://github.com/" + GITHUB_REPO + "/archive/refs/heads/" + GITHUB_BRANCH + ".zip" )
View Source
const ( ColorReset = "\033[0m" ColorBlue = "\033[38;5;39m" // Azul GitHub ColorCyan = "\033[38;5;51m" ColorGreen = "\033[38;5;46m" ColorYellow = "\033[38;5;226m" ColorRed = "\033[38;5;196m" ColorGray = "\033[38;5;240m" ColorWhite = "\033[97m" Bold = "\033[1m" )
Colores ANSI
View Source
const Version = "1.0.0"
Variables ¶
This section is empty.
Functions ¶
func BuildCommand ¶
func BuildCommand()
func CleanCommand ¶
func CleanCommand()
func CreateCommand ¶
func CreateCommand()
func FileExists ¶
func InstallCommand ¶
func InstallCommand()
func PrintBanner ¶
func PrintBanner()
func PrintDivider ¶
func PrintDivider()
func PrintError ¶
func PrintError(message string)
func PrintSuccess ¶
func PrintSuccess(message string)
func PrintWarning ¶
func PrintWarning(message string)
func RunCommand ¶
func RunCommand()
func ShowVersion ¶
func ShowVersion()
func StatusCommand ¶
func StatusCommand()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.