chore: update main.go

This commit is contained in:
etwodev
2025-10-05 19:11:08 +01:00
parent b8d15a97c7
commit af2e331623

View File

@@ -286,6 +286,8 @@ func findStack(cfg Config) (*Stack, error) {
// -------------------------------
func main() {
fmt.Fprintf(os.Stderr, "Loading args...\n")
cfg := Config{}
flag.StringVar(&cfg.PortainerURL, "url", "", "Portainer API base URL (e.g., https://portainer.example.com/api)")
flag.StringVar(&cfg.PortainerToken, "token", "", "Portainer API key or token")