internal

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLocation

func AddLocation(name string, location string) error

func CheckHomeVariable

func CheckHomeVariable() error

func ConvertToAbsolutePath

func ConvertToAbsolutePath(location string) string

func ListLocations

func ListLocations() error

func RemoveLocation

func RemoveLocation(name string) error

func TeleportToLocation

func TeleportToLocation(name string) error

func ValidateConfigFolder

func ValidateConfigFolder() error

func VerifyLocationFolder

func VerifyLocationFolder(location string) error

func VerifyNameExists

func VerifyNameExists(name string) error

Types

type ConfigFile

type ConfigFile struct {
	Location string   `yaml:location`
	Commands []string `yaml:commands`
}

Jump to

Keyboard shortcuts

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