Documentation
¶
Overview ¶
Package cmd provides the main commands for the gh-dxp extension.
Index ¶
- func AliasCmd(exe utils.Executor) *cobra.Command
- func AliasImportCmd(exe utils.Executor) *cobra.Command
- func BranchCmd(exe utils.Executor) *cobra.Command
- func Execute(settings *config.Settings, version string) error
- func GenerateCmd(settings *config.Settings, version string) (*cobra.Command, error)
- func LintCmd(exe utils.Executor, settings *config.Settings) *cobra.Command
- func OwnerCmd(exe utils.Executor, _ *config.Settings) *cobra.Command
- func PRCmd(exe utils.Executor, settings *config.Settings) *cobra.Command
- func PRCreateCmd(exe utils.Executor, settings *config.Settings) *cobra.Command
- func PRListCmd(exe utils.Executor) *cobra.Command
- func PRMergeCmd(exe utils.Executor) *cobra.Command
- func PRUpdateCmd(exe utils.Executor, settings *config.Settings) *cobra.Command
- func RepoCloneCmd(exe utils.Executor) *cobra.Command
- func RepoCmd(exe utils.Executor, _ *config.Settings) *cobra.Command
- func StatusCmd(exe utils.Executor) *cobra.Command
- func TemplateCmd(_ utils.Executor, settings *config.Settings) *cobra.Command
- func TestCmd(exe utils.Executor) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AliasCmd ¶ added in v0.9.2
AliasCmd extends the functionality of the gh alias command to facilitate the import of Elhub's preferred aliases.
func AliasImportCmd ¶ added in v0.9.2
AliasImportCmd imports the default aliases from github.
func GenerateCmd ¶
GenerateCmd sets up the command structure for the CLI tool using Cobra.
func OwnerCmd ¶ added in v0.2.4
OwnerCmd creates a new cobra command for retrieving code owner information.
func PRCreateCmd ¶ added in v0.7.10
PRCreateCmd handles the creation of a pull request.
func PRMergeCmd ¶ added in v0.7.10
PRMergeCmd handles the merging of a pull request.
func PRUpdateCmd ¶ added in v0.8.4
PRUpdateCmd handles the updating of a pull request. This is a more limited version of the create command.
func RepoCloneCmd ¶ added in v0.13.6
RepoCloneCmd creates a new command to clone all repositories (or just those with a given name).
func StatusCmd ¶ added in v0.5.1
StatusCmd creates a new cobra.Command for the status functionality.
func TemplateCmd ¶ added in v0.2.1
TemplateCmd initializes a repository with default files.
Types ¶
This section is empty.