build

package
v0.0.0-...-02f173f Latest Latest
Warning

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

Go to latest
Published: May 7, 2025 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const PS = "/"

Variables

View Source
var DefaultConfig = app.Config{
	Title: "OneSky config",
	Api: app.Api{
		Url:     "https://management-api.onesky.app/v1",
		Timeout: 30,
	},
}
View Source
var DefaultConfigPath = os.Getenv("HOME") + PS + ".config" + PS + "onesky.toml"
View Source
var ProductName = "onesky-cli-linux"

Functions

func CreateAppContext

func CreateAppContext(ctx *cli.Context, conf *app.Config) (context app.Context, err error)

func CreateConfig

func CreateConfig(c *cli.Context) (conf app.Config, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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