Documentation
¶
Index ¶
Constants ¶
View Source
const ( Bash = "bash" Zsh = "zsh" Fish = "fish" Powershell = "powershell" Auto = "auto" Color = "color" Plain = "plain" JSON = "json" )
View Source
const ( InplaceFlag = "inplace" VarFlag = "var" ValueFlag = "value" RecursiveFlag = "recursive" PrefixFlag = "prefix" LeftDelimFlag = "left-delim" RightDelimFlag = "right-delim" IndentFlag = "indent" StripFlag = "strip" FailFlag = "fail" IgnoreUnsetErrorsFlag = "ignore-unset-errors" IgnoreTemplateErrorsFlag = "ignore-template-errors" LogLevelFlag = "log-level" LogFormatFlag = "log-format" CompletionFlag = "completion" )
View Source
const CurrentValueKey = "Value"
CurrentValueKey is the key for the current YAML node's value
deprecated
View Source
const EnvPrefix = "YAMPL_"
Variables ¶
This section is empty.
Functions ¶
func BoolCompletion ¶ added in v0.6.0
Types ¶
type Config ¶
type Config struct { Vars Vars Inplace bool Prefix string LeftDelim string RightDelim string Indent int Strip bool IgnoreUnsetErrors bool IgnoreTemplateErrors bool LogLevel string LogFormat string Completion string // contains filtered or unexported fields }
func (*Config) RegisterCompletions ¶ added in v0.6.0
func (*Config) RegisterFlags ¶ added in v0.6.0
type DeprecatedWriter ¶ added in v0.6.1
type DeprecatedWriter struct{}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.