loginLib

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProfiles

func GetProfiles() (_default string, possible []string, err error)

func GetSelectedProfile

func GetSelectedProfile() (profile config.Profile, err error)

func New

func New(name, provider, token string, setDefault bool) error

func Select

func Select(ctx *cli.Context, name string, setDefault bool) error

if setDefault is true it will remove current default and set the newly selected profile as the default

Types

This section is empty.

Jump to

Keyboard shortcuts

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