Documentation
¶
Index ¶
Constants ¶
View Source
const ( EnvFile = ".env" EnvConfigPrefix = "STREAMDAL_CLI" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Version kong.VersionFlag `help:"Show version and exit" short:"v" env:"-"`
Debug bool `help:"Enable debug logging" short:"d" default:"false"`
Auth string `help:"Authentication token" required:"true" short:"a"`
Server string `help:"Streamdal server URL (gRPC)" default:"localhost:9090"`
ConnectTimeout time.Duration `help:"Initial gRPC connection timeout in seconds" default:"5s"`
DisableTLS bool `help:"Disable TLS" default:"false"`
EnableFileLogging bool `help:"Enable file logging" default:"false"`
LogFile string `help:"Log file" default:"./streamdal-cli.log"`
MaxOutputLines int `help:"Maximum number of output lines" default:"5000"`
KongContext *kong.Context `kong:"-"`
}
func (*Config) GetVersion ¶
Click to show internal directories.
Click to hide internal directories.