Documentation ¶
Overview ¶
Package flagsparser provides functionalities to understand command line flags associated with various action types so that they can be used during input processing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandFlags ¶
func CommandFlags(ctx context.Context, command []string, workingDir, execRoot string) (*flags.CommandFlags, error)
CommandFlags converts the given command into the CommandFlags representation of the command args.
Types ¶
type InputProcessor ¶
type InputProcessor struct { // OutputDirDep indicates that the action relies on the output directory to already // exist. OutputDirDep bool }
InputProcessor is a basic input processor that retrieves an InputSpec based on the parsed flags.
Click to show internal directories.
Click to hide internal directories.