config

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 1 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 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