Help us shape the future of Go! Take the 2026 Go Developer Survey

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: 23 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 artifacts" subcommands-optional:"true" subcommands-optional:"true"`
	DatastoreCmd *datastore.Cmd `command:"datastore" description:"For interacting with compiled release datastores"`

	AnalyzersCmd     AnalyzersCmd     `command:"analyzers" description:"For showing the supported analyzers"`
	ArtifactCmd      ArtifactCmd      `command:"artifact" description:"For showing the compiled release artifact"`
	OpsFileCmd       OpsFileCmd       `command:"ops-file" description:"For showing a deployment manifest ops file for the compiled release"`
	UploadReleaseCmd UploadReleaseCmd `command:"upload-release" description:"For uploading the compiled release to BOSH"`
	DownloadCmd      DownloadCmd      `command:"download" description:"For downloading the compiled release locally"`
	ExportReleaseCmd ExportReleaseCmd `command:"export-release" description:"For exporting a compiled release from BOSH"`
}

func New

func New(app *cmdopts.Opts, release *releaseopts.Opts) *Cmd

func (*Cmd) Execute

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

type CmdOpts

type CmdOpts struct {
	AppOpts             *cmdopts.Opts `no-flag:"true"`
	CompiledReleaseOpts *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 ExportReleaseCmd

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

	Args ExportReleaseCmdArgs `positional-args:"true" required:"true"`
}

func (*ExportReleaseCmd) Execute

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

type ExportReleaseCmdArgs

type ExportReleaseCmdArgs struct {
	Local string `positional-arg-name:"PATH" description:"Path to save the exported release"`
}

type OpsFileCmd

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

func (*OpsFileCmd) Execute

func (c *OpsFileCmd) 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