Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( VersionStr string Commit string Date string BuiltBy string Version *semver.Version )
Version information.
View Source
var DocsDir = ""
DocsDir is unused when chezmoi is built with embedded docs.
Functions ¶
Types ¶
type Config ¶
type Config struct {
SourceDir string
DestDir string
Umask permValue
DryRun bool
Follow bool
Remove bool
Verbose bool
Color string
Debug bool
GPG chezmoi.GPG
GPGRecipient string
SourceVCS sourceVCSConfig
Template templateConfig
Merge mergeConfig
Bitwarden bitwardenCmdConfig
CD cdCmdConfig
Diff diffCmdConfig
GenericSecret genericSecretCmdConfig
Gopass gopassCmdConfig
KeePassXC keePassXCCmdConfig
Lastpass lastpassCmdConfig
Onepassword onepasswordCmdConfig
Vault vaultCmdConfig
Pass passCmdConfig
Data map[string]interface{}
Stdin io.Reader
Stdout io.Writer
Stderr io.Writer
// contains filtered or unexported fields
}
A Config represents a configuration.
type VCS ¶
type VCS interface {
AddArgs(string) []string
CloneArgs(string, string) []string
CommitArgs(string) []string
InitArgs() []string
Initialized(string) (bool, error)
ParseStatusOutput([]byte) (interface{}, error)
PullArgs() []string
PushArgs() []string
StatusArgs() []string
VersionArgs() []string
VersionRegexp() *regexp.Regexp
}
A VCS is a version control system.
Source Files
¶
- add.go
- apply.go
- archive.go
- cat.go
- cd.go
- chattr.go
- completion.go
- config.go
- data.go
- data_linux.go
- diff.go
- docs.gen.go
- docs.go
- docs_embeddocs.go
- doctor.go
- dump.go
- edit.go
- editconfig.go
- executetemplate.go
- forget.go
- git.go
- gitvcs.go
- help.go
- helps.gen.go
- hg.go
- hgvcs.go
- import.go
- init.go
- ioreg.go
- managed.go
- merge.go
- permvalue.go
- purge.go
- remove.go
- root.go
- secret.go
- secretbitwarden.go
- secretgeneric.go
- secretgopass.go
- secretkeepassxc.go
- secretkeyring.go
- secretkeyringget.go
- secretkeyringset.go
- secretlastpass.go
- secretonepassword.go
- secretpass.go
- secretvault.go
- source.go
- sourcepath.go
- templatefuncs.go
- templates.gen.go
- unmanaged.go
- update.go
- upgrade.go
- util_posix.go
- vcs.go
- verify.go
Click to show internal directories.
Click to hide internal directories.