cli

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2017 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct{}

App is a cli command manager wrapper

func (App) Start

func (a App) Start(version string, commands Commands)

Start will start the CLI app

type Commands

type Commands struct {
	List Listcommand
}

Commands is an struct that contains all app commands

type Listcommand

type Listcommand interface {
	Exec(path string, max int, humanReadable bool, unique bool) error
}

Listcommand is the interface for the list object command

Jump to

Keyboard shortcuts

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