cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately

func ParentFolderMatches

func ParentFolderMatches(dotfileDir string, src string, srcInfo os.FileInfo, files []config.File, file config.File) bool

ParentFolderMatches to see if any parent folder of a file matches up until dotfileDir

Types

type GlobeState

type GlobeState struct {
	OwnerName               string `json:"ownerName"`
	OwnerEmail              string `json:"ownerEmail"`
	OwnerWebsite            string `json:"ownerWebsite"`
	Vcs                     string `json:"vcs"`
	VcsRemoteUsername       string `json:"vcsRemoteUsername"`
	VcsRemoteRepositoryName string `json:"vcsRemoteRepositoryName"`
}

GlobeState is the per-project state stored in the `globe.state` file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL