config

package
v0.0.0-...-e7103ae Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigOption

func GetConfigOption(option string) string

func GetConfiguredItems

func GetConfiguredItems() ([]string, error)

func GetSpinnerStyle

func GetSpinnerStyle() (*int, error)

func GetUsername

func GetUsername() (string, error)

func GetWorkspace

func GetWorkspace() (string, error)

func LoadConfig

func LoadConfig() error

func SetConfigOption

func SetConfigOption(option ConfigOption) (string, error)

Types

type ConfigOption

type ConfigOption struct {
	Key   string
	Value string
}

Jump to

Keyboard shortcuts

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