cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyzersCmd

type AnalyzersCmd struct {
	setter.AppConfig `no-flag:"true"`
	*CmdOpts         `no-flag:"true"`

	clicommon.AnalyzersCmd
}

func (*AnalyzersCmd) Execute

func (c *AnalyzersCmd) Execute(_ []string) error

type ArtifactCmd

type ArtifactCmd struct {
	setter.AppConfig `no-flag:"true"`
	*CmdOpts         `no-flag:"true"`

	clicommon.ArtifactCmd
}

func (*ArtifactCmd) Execute

func (c *ArtifactCmd) Execute(_ []string) error

type Cmd

type Cmd struct {
	setter.AppConfig `no-flag:"true"`
	*opts.Opts

	AnalysisCmd    *analysis.Cmd    `command:"analysis" description:"For analyzing the release artifact" subcommands-optional:"true"`
	DatastoreCmd   *datastore.Cmd   `command:"datastore" description:"For interacting with release datastores"`
	CompilationCmd *compilation.Cmd `command:"compilation" description:"For working with compiled releases" subcommands-optional:"true"`

	AnalyzersCmd     AnalyzersCmd     `command:"analyzers" description:"For showing the supported analyzers"`
	ArtifactCmd      ArtifactCmd      `command:"artifact" description:"For showing the release artifact"`
	UploadReleaseCmd UploadReleaseCmd `command:"upload-release" description:"For uploading the release to BOSH"`
	DownloadCmd      DownloadCmd      `command:"download" description:"For downloading the release locally"`
}

func New

func New(app *cmdopts.Opts) *Cmd

func (*Cmd) Execute

func (c *Cmd) Execute(extra []string) error

type CmdOpts

type CmdOpts struct {
	ReleaseOpts *opts.Opts
}

type DownloadCmd

type DownloadCmd struct {
	setter.AppConfig `no-flag:"true"`
	*CmdOpts         `no-flag:"true"`

	clicommon.DownloadCmd
}

func (*DownloadCmd) Execute

func (c *DownloadCmd) Execute(_ []string) error

type UploadReleaseCmd

type UploadReleaseCmd struct {
	setter.AppConfig `no-flag:"true"`
	*CmdOpts         `no-flag:"true"`

	clicommon.UploadReleaseCmd
}

func (*UploadReleaseCmd) Execute

func (c *UploadReleaseCmd) Execute(_ []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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