Discover Packages
github.com/aws-cloudformation/rain
internal
cmd
package
Version:
v1.3.2
Opens a new window with list of versions in this module.
Published: Feb 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
AddDefaults add standard additional flags and version information to a command
Execute wraps a command with error trapping that deals with the debug flag
Test runs a command without calling os.Exit and instead returning the error code.
Use this in place of Execute for functional testing
Wrap creates a new command with the same functionality as src
but with a new name and default options added for executables
e.g. the --debug flag
The new command is then executed
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.