cmd

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAuthKeyAction

func CheckAuthKeyAction(authKey string) cli.BeforeFunc

func NewCmdConfigure

func NewCmdConfigure() *cli.Command

func NewCmdRepl

func NewCmdRepl(conf *config.DeepLCLIConfig) *cli.Command

Types

type CLI

type CLI struct {
	Reader    io.Reader
	Writer    io.Writer
	ErrWriter io.Writer
}

func NewCLI

func NewCLI(reader io.Reader, writer, errWriter io.Writer) *CLI

func (*CLI) Run

func (c *CLI) Run(args []string, conf *config.DeepLCLIConfig) exitCode

Jump to

Keyboard shortcuts

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