package
1.0.8
Repository: https://github.com/jacbart/jaws.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

CheckIfGitRepo - runs git diff on the secrets folder - checks path for a .git folder and returns true if found.
CheckIfPrefix returns true of input string ends with a / or *.
No description provided by the author
DownloadSecret - Creates the directory path using the secrets name and the delimiter set ususally to /, then writes the secret the final file.
EnsurePath - prints directory path to secrets folder and will create the path if it does not exist.
FormatPrefixString returns string with /* as the last two characters.
GitCheckForUpdate returns an error and a semver containing the updated tag if it exists.
GitControlSecrets - creates a local git repo and commits the initially downloaded secrets.
GitDiff - Replace me with golang version.
GitLatestRelease downloads the latest version of jaws if there is a newer version.
GitStatus - runs git status on the secrets folder - Replace me with golang version.
OpenWithEditor will open a list of files with whatever the env var EDITIOR is set to.
PullSecretNames walks the secretsPath and creates a list of secrets that are in there.
PushPostRun - Cleans the secrets folder after Pushing them.
RunCommand takes an interpreter with a list of arguments and runs the command returning the output as a string and an error.
ShowFile will displays the contents of file.
Untar takes a destination path and a reader; a tar reader loops over the tarfile creating the file structure at 'dst' along the way, and writing any files.

# Variables

No description provided by the author