cache-apt-pkgs-action/cmd/cache_apt_pkgs/main.go
2025-10-04 23:38:32 -07:00

24 lines
383 B
Go

package main
import (
"awalsh128.com/cache-apt-pkgs-action/internal/logging"
)
func main() {
logging.Init(true)
commands := CreateCmds(
GetCreateKeyCmd(),
GetInstallCmd(),
GetRestoreCmd(),
GetSetupCmd(),
GetCleanupCmd(),
GetValidateCmd(),
)
cmd, pkgArgs := commands.Parse()
err := cmd.Run(cmd, pkgArgs)
if err != nil {
logging.Fatalf("error: %v\n", err)
}
}