cmd

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package cmd provides command line interface.

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	AuthProxy authproxy.Interface
	Logger    logger.Interface
}

Cmd provides command line interface.

func (*Cmd) Run

func (cmd *Cmd) Run(ctx context.Context, osArgs []string, version string) int

Run parses the arguments and executes the corresponding use-case.

type Interface

type Interface interface {
	Run(ctx context.Context, osArgs []string, version string) int
}

Jump to

Keyboard shortcuts

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