cmd

package
v0.0.0-...-0585133 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: GPL-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppFs afero.Fs

Reader that allows for mocking interactions with the terminal, which is needed to test getGovcmsWithPrompt(), default is os.Stdin

Functions

func Clone

func Clone(repoURL string, branchName string, prNumber int) error

func CloneGovCMS

func CloneGovCMS(name string, govcmsType string, branchName string, prNumber int) error

CloneGovCMS clones one of the GovCMS repo types given a correct type. It also can change the git repository's state to a specific branch or pull request (but not both)

func NewGetCmd

func NewGetCmd() *cobra.Command

func NewRootCmd

func NewRootCmd(appFs afero.Fs, db *sql.DB) *cobra.Command

func Up

func Up(args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL