login

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: May 13, 2025 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package login provides the login command

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdLogin

func NewCmdLogin(f *cmdutil.Factory) *cobra.Command

NewCmdLogin creates the login command

func RunLogin

func RunLogin(f *cmdutil.Factory, opts *Options) error

RunLogin is the actual execution of the login command Note: it needn't auth, so f.ApiClient is nil

Types

type Options

type Options struct {
	NewClient func(string) api.Client // to mock in tests
}

Options is the struct for the login command

Jump to

Keyboard shortcuts

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