package
1.8.0-alpha-aaaabbbb1234
Repository: https://github.com/ensono/taskctl.git
Documentation: pkg.go.dev

# Functions

ConvertEnv converts map representing the environment to array of strings in the form "key=value".
ConvertFromEnv takes a string array and coverts it to a map of strings since an env variable can only really be a string it's safe to convert to string and not interface downstream programs need to cast values to what they expect.
ConvertStringToHumanFriendly takes a ConvertStringToMachineFriendly generated string and and converts it back to its original human friendly form.
ConvertStringToMachineFriendly takes astring and replaces any occurrence of non machine friendly chars with machine friendly ones.
ConvertToMapOfStrings converts map of interfaces to map of strings.
FileExists checks if the file exists.
GetFullPath.
IsExitError checks if given error is an instance of exec.ExitError.
IsURL checks if given string is a valid URL.
LastLine returns last line from provided reader.
MapKeys returns an array of map's keys.
MustGetUserHomeDir returns current working directory.
MustGetwd returns current working directory.
NewEnvFile creates a new instance of the EnvFile initializes it with some defaults.
ReadEnvFile reads env file inv `k=v` format.
RenderString parses given string as a template and executes it with provided params.

# Constants

No description provided by the author

# Variables

No description provided by the author

# Structs

Binary is a structure for storing binary file path and arguments that should be passed on binary's invocation.
Container is the specific context for containers only available to docker API compliant implementations e.g.
Envile is a structure for storing the information required to generate an envfile which can be consumed by the specified binary.
No description provided by the author

# Type aliases

Opts is a task runner configuration function.