cmd

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package cmd provides the command line interface (CLI).

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	XZST xzst.Interface
	Env  env.Interface
}

func (*Cmd) Run

func (cmd *Cmd) Run(args []string, version string) int

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

type Interface

type Interface interface {
	Run(args []string, version string) int
}

Jump to

Keyboard shortcuts

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