package
0.15.1
Repository: https://github.com/flanksource/build-tools.git
Documentation: pkg.go.dev

# Functions

ExecuteCommand is a test utility function to execute the command with given args and returns the produced output and error as strings.
ExecuteCommandC is a test utility function to execute the command with given args and returns the result command and the produced output and error as strings.
HasSubcommand is an assertion helper that verifies if cobra.Command cmd has a specific child command.
ParsesBoolFlag is an assertion helper that verifies that the given cobra.Command cmd parses a given bool flag.
ParsesStringFlag is an assertion helper that verifies that the given cobra.Command cmd parses a given string flag.