cmd

package
v0.0.0-...-645b8d8 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Default

type Default struct {
	IO
	Version     string
	Store       *task.Store
	OpenHandler func(path string)
}

Default is the default command of this application.

func (*Default) Run

func (d *Default) Run(args []string) int

Run starts a default command with arguments.

type IO

type IO struct {
	Reader      io.Reader
	Writer      io.Writer
	ErrorWriter io.Writer
}

IO represents I/O to command.

Jump to

Keyboard shortcuts

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