Documentation
¶
Overview ¶
Copyright © 2024 Marcus Kok
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigPath string
View Source
var DotfilePath string
View Source
var DryRun bool
View Source
var FileSystem afero.Fs
View Source
var RootCmd = &cobra.Command{
Use: "dotctl",
Short: "dotfile management",
Long: `Dotctl is a CLI tool for syncing your
dotfiles. It provides an opiniated way to symlink
a dotfile directory to various config directories.`,
}
Functions ¶
func CheckIfError ¶
func CheckIfError(err error)
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func UseFilesystem ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.