chore: update main.go
This commit is contained in:
2
main.go
2
main.go
@@ -286,6 +286,8 @@ func findStack(cfg Config) (*Stack, error) {
|
|||||||
// -------------------------------
|
// -------------------------------
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
fmt.Fprintf(os.Stderr, "Loading args...\n")
|
||||||
|
|
||||||
cfg := Config{}
|
cfg := Config{}
|
||||||
flag.StringVar(&cfg.PortainerURL, "url", "", "Portainer API base URL (e.g., https://portainer.example.com/api)")
|
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")
|
flag.StringVar(&cfg.PortainerToken, "token", "", "Portainer API key or token")
|
||||||
|
|||||||
Reference in New Issue
Block a user