config

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env added in v0.1.6

type Env []struct {
	Name  string `json:"name" yaml:"name"`
	Value string `json:"value" yaml:"value"`
}

type Ownbrew added in v0.1.2

type Ownbrew struct {
	Dry       bool              `json:"dry" yaml:"dry"`
	BinDir    string            `json:"binDir" yaml:"binDir"`
	TapDir    string            `json:"tapDir" yaml:"tapDir"`
	TempDir   string            `json:"tempDir" yaml:"tempDir"`
	CellarDir string            `json:"cellarDir" yaml:"cellarDir"`
	Packages  []ownbrew.Package `json:"packages" yaml:"packages"`
}

type Plugin

type Plugin struct {
	Source   string `json:"source" yaml:"source"`
	Target   string `json:"target" yaml:"target"`
	Provider string `json:"provider" yaml:"provider"`
}

func (Plugin) String

func (c Plugin) String() string

type Prompt

type Prompt struct {
	Title   string            `json:"title" yaml:"title"`
	Prefix  string            `json:"prefix" yaml:"prefix"`
	History PromptHistory     `json:"history" yaml:"history"`
	Aliases map[string]string `json:"aliases" yaml:"aliases"`
}

type PromptHistory

type PromptHistory struct {
	Limit        int    `json:"limit" yaml:"limit"`
	Filename     string `json:"filename" yaml:"filename"`
	LockFilename string `json:"lockFilename" yaml:"lockFilename"`
}

type Require added in v0.1.4

type Require struct {
	Envs     []RequireEnv     `json:"envs" yaml:"envs"`
	Scripts  []RequireScript  `json:"scripts" yaml:"scripts"`
	Packages []RequirePackage `json:"packages" yaml:"packages"`
}

type RequireEnv added in v0.1.4

type RequireEnv struct {
	Name string `json:"name" yaml:"name"`
	Help string `json:"help" yaml:"help"`
}

func (RequireEnv) String added in v0.1.4

func (c RequireEnv) String() string

type RequirePackage added in v0.1.4

type RequirePackage struct {
	Name    string `json:"name" yaml:"name"`
	Version string `json:"version" yaml:"version"`
	Command string `json:"command" yaml:"command"`
	Help    string `json:"help" yaml:"help"`
}

func (RequirePackage) String added in v0.1.4

func (c RequirePackage) String() string

type RequireScript added in v0.1.4

type RequireScript struct {
	Name    string `json:"name" yaml:"name"`
	Command string `json:"command" yaml:"command"`
	Help    string `json:"help" yaml:"help"`
}

func (RequireScript) String added in v0.1.4

func (c RequireScript) String() string

Jump to

Keyboard shortcuts

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