command

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2018 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClean

func NewClean() (cli.Command, error)

NewClean returns a new CleanCmd struct

func NewCommit

func NewCommit() (cli.Command, error)

NewCommit returns new CommitCmd struct

func NewInit

func NewInit() (cli.Command, error)

NewInit returns new InitCmd struct

func NewRecord

func NewRecord() (cli.Command, error)

NewRecord return new RecordCmd struct

func NewReport

func NewReport() (cli.Command, error)

NewReport create new ReportCmd struct

func NewStatus

func NewStatus() (cli.Command, error)

NewStatus returns new StatusCmd struct

func NewUninit

func NewUninit() (cli.Command, error)

NewUninit returns new UninitCmd struct

Types

type CleanCmd

type CleanCmd struct {
	UI cli.Ui
}

CleanCmd contains method for clean method

func (CleanCmd) Help

func (c CleanCmd) Help() string

Help returns help for the clean command

func (CleanCmd) Run

func (c CleanCmd) Run(args []string) int

Run executes clean command with args

func (CleanCmd) Synopsis

func (c CleanCmd) Synopsis() string

Synopsis return help for clean command

type CommitCmd

type CommitCmd struct {
	UI cli.Ui
}

CommitCmd struct contain methods for commit command

func (CommitCmd) Help

func (c CommitCmd) Help() string

Help returns help for commit command

func (CommitCmd) Run

func (c CommitCmd) Run(args []string) int

Run executes commit commands with args

func (CommitCmd) Synopsis

func (c CommitCmd) Synopsis() string

Synopsis return help for commit command

type InitCmd

type InitCmd struct {
	UI cli.Ui
}

InitCmd contains methods for init command

func (InitCmd) Help

func (c InitCmd) Help() string

Help return help for init command

func (InitCmd) Run

func (c InitCmd) Run(args []string) int

Run executes init command with args

func (InitCmd) Synopsis

func (c InitCmd) Synopsis() string

Synopsis return help for init command

type RecordCmd

type RecordCmd struct {
	UI  cli.Ui
	Out *bytes.Buffer
}

RecordCmd contains method for record command

func (RecordCmd) Help

func (c RecordCmd) Help() string

Help returns help for record command

func (RecordCmd) Run

func (c RecordCmd) Run(args []string) int

Run executes record command with args

func (RecordCmd) Synopsis

func (c RecordCmd) Synopsis() string

Synopsis returns help

type ReportCmd

type ReportCmd struct {
	UI cli.Ui
}

ReportCmd contains methods for report command

func (ReportCmd) Help

func (c ReportCmd) Help() string

Help returns help for report command

func (ReportCmd) Run

func (c ReportCmd) Run(args []string) int

Run executes report command with args

func (ReportCmd) Synopsis

func (c ReportCmd) Synopsis() string

Synopsis return help for report command

type StatusCmd

type StatusCmd struct {
	UI cli.Ui
}

StatusCmd containt methods for status command

func (StatusCmd) Help

func (c StatusCmd) Help() string

Help returns help for status command

func (StatusCmd) Run

func (c StatusCmd) Run(args []string) int

Run executes status command with args

func (StatusCmd) Synopsis

func (c StatusCmd) Synopsis() string

Synopsis returns help for status command

type UninitCmd

type UninitCmd struct {
	UI cli.Ui
}

UninitCmd contains methods for uninit command

func (UninitCmd) Help

func (c UninitCmd) Help() string

Help returns help for uninit command

func (UninitCmd) Run

func (c UninitCmd) Run(args []string) int

Run executes uninit command with args

func (UninitCmd) Synopsis

func (c UninitCmd) Synopsis() string

Synopsis returns help for uninit command

type VerifyCmd

type VerifyCmd struct {
	UI      cli.Ui
	Version string
	Out     *bytes.Buffer
}

VerifyCmd contains CLI commands for verify

func (VerifyCmd) Help

func (c VerifyCmd) Help() string

Help returns CLI help for Verify command

func (VerifyCmd) Run

func (c VerifyCmd) Run(args []string) int

Run executes verify commands with args

func (VerifyCmd) Synopsis

func (c VerifyCmd) Synopsis() string

Synopsis returns verify help

Jump to

Keyboard shortcuts

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