Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureValidOptionsPassed ¶
func EnsureValidOptionsPassed(config *config.GitXargsConfig) error
EnsureValidOptionsPassed checks that user has provided one valid method for selecting repos to operate on
func ProcessAllowedRepos ¶
func ProcessAllowedRepos(filepath string) ([]*types.AllowedRepo, error)
ProcessAllowedRepos accepts a path to the flat file in which the user has defined their explicitly allowed repos. It expects repos to be defined one per line in the following format: `gruntwork-io/cloud-nuke` with optional commas. Stray single and double quotes are also handled and stripped out if they are encountered, and spacing is irrelevant.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.