Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirectoryExists ¶
DirectoryExists returns the condition to determine if the given directory exists in bash, e.g. -d directory
func ExtractBool ¶
func ExtractBool(p interface{}) bool
ExtractBool converts the given interface to a boolean.
func ExtractOptions ¶
func ExtractOptions(p interface{}) []string
ExtractOptions returns an array of strings from the given interface. This is useful if your options are defined as follows: plugin: foo options:
packages: - "foo" - "bar" - "baz"
func ExtractString ¶
func ExtractString(p interface{}) string
ExtractString converts the given interface to a string.
Types ¶
type Command ¶
Command describes the command and its args to run.
func NewCommand ¶
NewCommand creates a new Command.
Click to show internal directories.
Click to hide internal directories.