Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExecCommand = exec.Command
ExecCommand is a wrapper for exec.Command (for testability)
Functions ¶
func GetVersion ¶ added in v0.4.0
func GetVersion() string
GetVersion returns the current version, preferring build-time version, then falling back to .version file, then "dev"
func RunShellSilent ¶ added in v0.4.0
RunShellSilent runs a shell command silently and returns the exit code
func RunSwaggerValidate ¶ added in v0.4.0
RunSwaggerValidate shells out to swagger-cli validate for all YAML/JSON files in the input dir
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.