package
0.12.0
Repository: https://github.com/katanomi/pkg.git
Documentation: pkg.go.dev

# Functions

CreateMultiCommit create new commit using a bash script and vanila git cli returns an error if any.
CreateNewBranch create new branch using a bash script and vanila git cli returns an error if any.
CreateNewCommit create new commit using a bash script and vanila git cli returns an error if any.
CreateNewTag create new tag using a bash script and vanila git cli returns an error if any.
ExecBashScript exec bash script with params.
ExecScript exec script with params.
InitRepo init repo, e.g: create default branch, submit some files TODO: move to use script builder.
NewScript starts creating a script runner for the given script and args which can be customized by chaining other methods and be finally executed by calling the Result or Error methods.
RestoreDirectories restore directories from embed.FS to targetDir.

# Constants

DefaultScriptOutputPrefix the prefix of script output.
ScriptCreateBranch script path for create branch script.
ScriptCreateCommit script path for create commit script.
ScriptCreateMultiCommit script path for create multi commit script.
ScriptCreateTag script path for create tag script.
ScriptInitRepo script path for init repo script.

# Structs

ScriptBuilder script runner for easier initializing of data using scripts while providing option for asserting and processing the result.
ScriptResult the result of script execution.