cmd

package
v0.0.0-...-9134f51 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func OrgGet

func OrgGet(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

func TOTPGet

func TOTPGet(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

Types

type Config

type Config struct {
	Totp []struct {
		Org      string `yaml:"org"`
		Accounts []struct {
			Name  string `yaml:"name"`
			Token string `yaml:"token"`
		} `yaml:"accounts"`
	} `yaml:"totp"`
}

readConfig

type ConnectCommand

type ConnectCommand struct{}

func (*ConnectCommand) Help

func (c *ConnectCommand) Help() string

func (*ConnectCommand) Synopsis

func (c *ConnectCommand) Synopsis() string

Jump to

Keyboard shortcuts

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