Documentation ¶
Index ¶
Constants ¶
View Source
const ( ParameterModeSet = "SET" ParameterModeReplace = "REPLACE" )
View Source
const (
Version = migrations.Latest
)
Variables ¶
View Source
var ErrInvalidConfig = errors.New("invalid config file")
Functions ¶
func SerializeToYamlWithComment ¶ added in v1.0.0
func SerializeToYamlWithComment(value interface{}) []byte
Types ¶
type Config ¶
type Config struct { Style ui.Config `yaml:"style" mapstructure:"style"` Editor string `` /* 215-byte string literal not displayed */ DefaultRootCommand string `` /* 196-byte string literal not displayed */ FuzzySearch bool `yaml:"fuzzySearch" mapstructure:"fuzzySearch" head_comment:"Enable fuzzy searching for snippet titles."` Script ScriptConfig `yaml:"scripts" mapstructure:"scripts" head_comment:"Options regarding script handling"` Manager managers.Config `yaml:"manager" mapstructure:"manager"` }
type ErrConfigNotFound ¶
type ErrConfigNotFound struct {
// contains filtered or unexported fields
}
func (ErrConfigNotFound) Error ¶
func (e ErrConfigNotFound) Error() string
func (ErrConfigNotFound) Is ¶
func (e ErrConfigNotFound) Is(target error) bool
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option configures an App.
func WithSystem ¶
WithSystem sets the system instance for the Service.
type ParameterMode ¶ added in v1.2.0
type ParameterMode string
type ScriptConfig ¶ added in v1.2.0
type ScriptConfig struct { Shell string `` /* 170-byte string literal not displayed */ ParameterMode ParameterMode `` /* 242-byte string literal not displayed */ RemoveComments bool `` /* 155-byte string literal not displayed */ ExecConfirm bool `` /* 212-byte string literal not displayed */ ExecPrint bool `` /* 172-byte string literal not displayed */ }
type Service ¶
type VersionWrapper ¶
Click to show internal directories.
Click to hide internal directories.