flags

package
v0.0.2-rc.14 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 License: MIT Imports: 3 Imported by: 27

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Action

func Action(usage string, possibilities []string, value string) cli.Flag

Action returns a flag for receiving an action out of several possibilities

func Alg

func Alg(usage string, possibilities []string, value string) cli.Flag

Alg returns a flag for receiving the type of algorithm to use when performing an operation

func Bits

func Bits(usage string, value int) cli.Flag

Bits returns a flag for receiving the number of bits in generating a key

func Console

func Console(usage string) cli.Flag

Console returns a flag allowing the user to specify whether or not they want to remain entirely in the console

func Email

func Email(usage string) cli.Flag

Email returns a flag allowing the user to specify their email

func Limit

func Limit(usage string, value int) cli.Flag

Limit returns a flag for limiting the results return by a command

func NewPasswordFile

func NewPasswordFile(usage string) cli.Flag

NewPasswordFile returns a flag for receiving a new password

func Number

func Number(usage string) cli.Flag

Number returns a flag for collecting the number of something to create

func OAuthProvider

func OAuthProvider(usage string, providers []string, value string) cli.Flag

OAuthProvider returns a flag for allowing the user to select an oauth provider

func OldPasswordFile

func OldPasswordFile(usage string) cli.Flag

OldPasswordFile returns a flag for receiving an old password

func OutputFile

func OutputFile(usage string) cli.Flag

OutputFile returns a flag for specifying the path inwhich to write output too

func PasswordFile

func PasswordFile(usage string) cli.Flag

PasswordFile returns a flag for specifying the path to a file containing a password

func Prefix

func Prefix(usage, value string) cli.Flag

Prefix returns a flag for prefixing to the name of an entity during creation

func RootCertificate

func RootCertificate(usage string) cli.Flag

RootCertificate returns a flag for specifying the path to a root certificate

func Type

func Type(usage string, possibilities []string, value string) cli.Flag

Type returns a flag for receiving a type of thing to create out of several possibilties

Types

This section is empty.

Jump to

Keyboard shortcuts

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