package
0.26.1
Repository: https://github.com/go-vela/cli.git
Documentation: pkg.go.dev

# Packages

Package client provides the ability for Vela to parse and manage the client rendered for a CLI action.
Package output provides the ability for Vela to manage and manipulate the output rendered for a CLI action.

# Functions

GetGitConfigOrg opens the git repository, fetches the remote origin url, and parses the url to find the org of the current working directory.
GetGitConfigRepo opens the git repository, fetches the remote origin url, and parses the url to find the repo of the current working directory.
ProcessArgs attempts to get the command line arguments, grab the first value, and set the resource to that value in the context.
SetGitConfigContext attempts to set the org and repo based on the .git/ directory, provided the user has the config flag of no-git set to true.

# Constants

ActionAdd defines the action for creating a resource.
ActionApprove defines the action for approving a resource.
ActionCancel defines the action for canceling of a resource.
ActionChown defines the action for changing ownership of a resource.
ActionCompile defines the action for compiling a resource.
ActionExec defines the action for executing a resource.
ActionExpand defines the action for expanding a resource.
ActionGenerate defines the action for producing a resource.
ActionGet defines the action for getting a list of resources.
ActionLoad defines the action for loading a resource.
ActionRemove defines the action for deleting a resource.
ActionRepair defines the action for repairing a resource.
ActionRestart defines the action for restarting a resource.
ActionSync defines the action for syncing a resource with SCM.
ActionSyncAll defines the action for syncing all org resources with SCM.
ActionUpdate defines the action for modifying a resource.
ActionValidate defines the action for validating a resource.
ActionView defines the action for inspecting a resource.
FlagActive defines the key for the flag when getting a list of workers to filter based on active status.
FlagAfter defines the key for the flag when setting the "after" time constraint.
FlagAPIAccessToken defines the key for the flag when setting the API access token.
FlagAPIAddress defines the key for the flag when setting the API address.
FlagAPIRefreshToken defines the key for for the flag when setting the API refresh token.nolint:gosec // false negative - not a real token.
FlagAPIToken defines the key for the flag when setting the API token.
FlagAPIVersion defines the key for the flag when setting the API version.
FlagBefore defines the key for the flag when setting the "before" time constraint.
FlagBranch defines the key for the flag when setting the branch.
FlagBuild defines the key for the flag when setting the build.
FlagColor defines the key for the flag when enabling/disabling color output.
FlagColorFormat defines the key for the flag when setting the color format.
FlagColorTheme defines the key for the flag when setting the color theme.
FlagCompilerGitHubToken defines the key for the flag when setting the compiler github token.nolint:gosec // ignoring since this is a constant for a user passed token.
FlagCompilerGitHubURL defines the key for the flag when setting the compiler github url.
FlagConfig defines the key for the flag when setting the config.
FlagLogLevel defines the key for the flag when setting the log level.
FlagName defines the key for the flag when setting the user name.
FlagNoGit defines the key for the flag when setting the no-git status.
FlagOrg defines the key for the flag when setting the org.
FlagOutput defines the key for the flag when setting the output.
FlagPage defines the key for the flag when setting the page.
FlagPerPage defines the key for the flag when setting the results per page.
FlagRepo defines the key for the flag when setting the repo.
FlagSchedule defines the key for the flag when setting the schedule.
FlagSecretCommands defines the key for the flag when setting the secret allow_command value.
FlagSecretEngine defines the key for the flag when setting the secret engine.
FlagSecretSubstitutions defines the key for the flag when setting the secret allow_substitution value.
FlagSecretType defines the key for the flag when setting the secret type.
FlagService defines the key for the flag when setting the service.
FlagStep defines the key for the flag when setting the step.
FlagWorkerAddress defines the key for the flag when setting the worker address.
FlagWorkerHostname defines the key for the flag when setting the worker hostname.
FlagWorkerRegistrationToken defines the key for the flag when viewing the worker registration token.