cmd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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 Confirm

func Confirm(message string) bool

func CreateCommand

func CreateCommand()

func FileExists

func FileExists(path string) bool

func GetInput

func GetInput(prompt string) string

func InstallCommand

func InstallCommand()

func PrintBanner

func PrintBanner()

func PrintDivider

func PrintDivider()

func PrintError

func PrintError(message string)

func PrintInfo

func PrintInfo(message string)

func PrintStep

func PrintStep(step int, total int, message string)

func PrintSuccess

func PrintSuccess(message string)

func PrintWarning

func PrintWarning(message string)

func RunCommand

func RunCommand()

func ShowHelp

func ShowHelp()

func ShowVersion

func ShowVersion()

func StatusCommand

func StatusCommand()

Types

This section is empty.

Directories

Path Synopsis
Archivo: cmd/sca/main.go
Archivo: cmd/sca/main.go

Jump to

Keyboard shortcuts

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