commands

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse()

Parse parses the command line options and calls the specified command

Types

type PTOptions added in v0.2.0

type PTOptions struct {
	Provider      string
	Name          string
	Mytoken       string
	MytokenPrompt bool
	MytokenFile   string
	MytokenEnv    string
}

PTOptions holds command line options that can be used with all commands

func (*PTOptions) Check added in v0.2.0

func (g *PTOptions) Check() (*model.Provider, string)

Jump to

Keyboard shortcuts

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