cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

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

func UseFilesystem() afero.Fs

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳