login

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Email    string `long:"email" short:"u" description:"email address name"`
	Password string `long:"password" short:"p" description:"password"`
	Passcode string `long:"passcode" short:"c" description:"MFA token passcode"`
}

Command is the subcommand to log in. Logging in saves a JWT token locally (in ~/.spanrc) which will be used to authenticate with Span.

func (*Command) Execute

func (c *Command) Execute([]string) error

Jump to

Keyboard shortcuts

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