# Functions
EnsureDirectory will ensure that the full path to the destination directory exists.
FindInInterface treats an interface{} like a (nested) map, and searches through its contents for a given list of mapKeys.
GetShell returns the value of the $SHELL environment variable, or an error if on Windows or the variable is not set.
HostCommandExists takes a single OS-level command name, returning true if it exists in $PATH; false/CommandNotFoundError otherwise.
InterfaceToJSON converts an interface{} to JSON.
No description provided by the author
JSONToFile accepts JSON and an output file path to create a JSON file.
SplitFilepath takes a full path string and turns it into directory and file parts.
TarGz is a utility function for archiving and compressing files.
WriteJSON converts an interface{} to JSON then writes to filePath.
# Variables
ErrNoShellOnWindows occurs when GetShell() is run on a Windows machine.
ErrUnknownShell occurs when the $SHELL environment variable is empty or not set.
# Structs
No description provided by the author