loginFlags

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var New = &cli.BoolFlag{
	Name:  "new",
	Usage: "Create a new profile. If no profiles exist, this flag is implied.",
}
View Source
var Provider = &cli.StringFlag{
	Name:        "provider",
	Aliases:     []string{"p"},
	DefaultText: "github",
	Usage:       "Provider to log in with. Currently, only GitHub is supported.",
}
View Source
var SetDefault = &flags.BoolWithInverseFlag{
	BoolFlag: &cli.BoolFlag{
		Name:    "set-default",
		Aliases: []string{"d"},
		Usage:   "Set the profile as the default profile",
	},
}
View Source
var Token = &cli.StringFlag{
	Name:    "token",
	Aliases: []string{"t"},
	Usage:   "Token from the git provider (e.g. GitHub) to log in with.",
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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