config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 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 Dependencies

type Dependencies struct {
	Envs     []DependenciesEnv     `json:"envs" yaml:"envs"`
	Scripts  []DependenciesScript  `json:"script" yaml:"script"`
	Packages []DependenciesPackage `json:"packages" yaml:"packages"`
}

type DependenciesEnv

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

func (DependenciesEnv) String

func (c DependenciesEnv) String() string

type DependenciesPackage

type DependenciesPackage 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 (DependenciesPackage) String

func (c DependenciesPackage) String() string

type DependenciesScript

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

func (DependenciesScript) String

func (c DependenciesScript) String() string

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"`
}

type PromptHistory

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

Jump to

Keyboard shortcuts

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