Files
pushbits-cli/internal/options/mod.go
2023-04-01 16:40:57 +02:00

15 lines
600 B
Go

// Package options defines the global options of this tool.
package options
// Options represents the global options of this tool.
type Options struct {
Verbose bool `short:"v" help:"Show debugging information"`
}
// AuthOptions represents the options for authentication against a server.
type AuthOptions struct {
URL string `name:"url" help:"The URL where the server listens for requests" required:""`
Username string `name:"username" help:"The username for authenticating on the server" required:""`
Proxy string `name:"proxy" default:"" help:"The proxy to use for HTTP requests"`
}