Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildDate = "" // YYYY-MM-DD
BuildDate is dynamically set at build time in the Makefile.
View Source
var Confirm = func(prompt string, result *bool) error { p := &survey.Confirm{ Message: prompt, Default: true, } return survey.AskOne(p, result) }
View Source
var RootCmd = &cobra.Command{ Use: "gh", Short: "GitHub CLI", Long: `Work seamlessly with GitHub from the command line. GitHub CLI is in early stages of development, and we'd love to hear your feedback at <https://forms.gle/umxd3h31c7aMQFKG7>`, SilenceErrors: true, SilenceUsage: true, }
RootCmd is the entry point of command-line execution
View Source
var Version = "DEV"
Version is dynamically set by the toolchain or overriden by the Makefile.
Functions ¶
func BasicClient ¶
BasicClient returns an API client that borrows from but does not depend on user configuration
Types ¶
Click to show internal directories.
Click to hide internal directories.