cmd

package
v0.0.44 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ProviderGitHub represents https://github.com
	ProviderGitHub = "github"
)

Variables

This section is empty.

Functions

func NewRoot

func NewRoot(cxt context.Context) (cmd *cobra.Command)

NewRoot returns the root command

Types

type CompletionFunc added in v0.0.36

type CompletionFunc func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

CompletionFunc is the function for command completion

func ArrayCompletion added in v0.0.36

func ArrayCompletion(array ...string) CompletionFunc

ArrayCompletion return a completion which base on an array

Jump to

Keyboard shortcuts

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