helpers

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: LGPL-2.1 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TemplateFuncs = map[string]interface{}{
	"default": dfault,
	"quote":   quote,
}

Functions

func CheckIfGitRepo

func CheckIfGitRepo(path string, shouldWarn bool) bool

func GitControlSecrets

func GitControlSecrets(secretIDs []string, secretsPath string) error

func GitDiff

func GitDiff(secretsPath string) error

func GitStatus

func GitStatus(secretsPath string) error

func NewGitDiff

func NewGitDiff(secretsPath string) error

func OpenEditor

func OpenEditor(secretsIDs []string, secretsPath string) error

func Path

func Path(secretsPath string) error

Path prints directory path to secrets folder and will create the path if it does not exist

func PathCommand

func PathCommand()

Types

This section is empty.

Jump to

Keyboard shortcuts

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