commands

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 29 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{}

func (PTOptions) Check added in v0.2.0

func (pt PTOptions) Check(capability ...api.Capability) (*model.Provider, string)

func (PTOptions) Mytoken added in v0.2.0

func (pt PTOptions) Mytoken() string

func (PTOptions) MytokenEnv added in v0.2.0

func (pt PTOptions) MytokenEnv() string

func (PTOptions) MytokenFile added in v0.2.0

func (pt PTOptions) MytokenFile() string

func (PTOptions) MytokenPrompt added in v0.3.0

func (pt PTOptions) MytokenPrompt() bool

func (PTOptions) Name added in v0.2.0

func (pt PTOptions) Name() string

func (PTOptions) Provider added in v0.2.0

func (pt PTOptions) Provider() string

func (PTOptions) SSH added in v0.4.0

func (pt PTOptions) SSH() string

func (PTOptions) SetName added in v0.4.0

func (PTOptions) SetName(name string)

func (PTOptions) SetProvider added in v0.4.0

func (PTOptions) SetProvider(provider string)

Jump to

Keyboard shortcuts

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