cli

package
v2.0.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: MIT Imports: 29 Imported by: 0

README

CLI

Installation

$ go get github.com/gobuffalo/buffalo-cli/v2/cmd/buffalo

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aliaser

type Aliaser = plugcmd.Aliaser

type Buffalo

type Buffalo struct {
	plugins.Plugins
}

Buffalo represents the `buffalo` cli.

func New

func New() (*Buffalo, error)

func NewFromRoot

func NewFromRoot(root string) (*Buffalo, error)

func (Buffalo) Description

func (Buffalo) Description() string

Description ...

func (*Buffalo) Main

func (b *Buffalo) Main(ctx context.Context, root string, args []string) error

Main is the entry point of the `buffalo` command

func (Buffalo) PluginName

func (Buffalo) PluginName() string

Name ...

func (Buffalo) ScopedPlugins

func (b Buffalo) ScopedPlugins() []plugins.Plugin

func (Buffalo) String

func (Buffalo) String() string

func (Buffalo) SubCommands

func (b Buffalo) SubCommands() []plugins.Plugin

type Commander

type Commander = plugcmd.Commander

type Needer

type Needer = plugins.Needer

type StderrNeeder

type StderrNeeder = plugio.ErrNeeder

type StdinNeeder

type StdinNeeder = plugio.InNeeder

type StdoutNeeder

type StdoutNeeder = plugio.OutNeeder

Jump to

Keyboard shortcuts

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