config

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2023 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Logging struct {
		Level slog.Level `default:"INFO"            enum:"DEBUG,INFO,WARN,ERROR" help:"Log level"`
		File  string     `default:"/tmp/scwtui.log" help:"File to write logs to"`
	} `embed:"" prefix:"log-"`

	Debug bool `default:"false" help:"Enable debug mode"`

	Scaleway `embed:""`
	Tui      `embed:"" prefix:"ui-"`
}

type Scaleway

type Scaleway struct {
	Profile string `default:"" help:"Scaleway profile name"`
}

type Tui

type Tui struct {
	Theme string `default:"monokai" help:"The theme to use for syntax highlighting."`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL