Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModeSingleURL = "single-url" ModeInputFile = "input-file" )
Mode constants
View Source
const ( AuthTypeHTTP = "http" AuthTypeSSHKey = "ssh-key" AuthTypeSSHAgent = "ssh-agent" )
Variables ¶
View Source
var (
AppConfig *config.Config
)
Global variables for configuration and command arguments TODO: add PR example for github
View Source
var FetchCmd = &cobra.Command{ Use: "fetch --vcs/p PLUGIN_NAME --auth-type/-a AUTH_TYPE [--ssh-key/-k PATH] [--rm-ext LIST_OF_EXTENTIONS][-j THREADS_NUMBER, default=1] {--input-file/-i PATH | [-b BRANCH/HASH] URL}", SilenceUsage: true, DisableFlagsInUseLine: true, Example: exampleFetchUsage, Short: "Fetches repository code using the specified VCS plugin with consistency support", RunE: runFetchCommand, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.