clicommon

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: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactCmd

type ArtifactCmd struct {
	Download *string `` /* 127-byte string literal not displayed */
	Format   string  `long:"format" description:"Output format for the release reference" value-name:"json|metalink|tsv" default:"tsv"`
}

func (*ArtifactCmd) ExecuteArtifact

func (c *ArtifactCmd) ExecuteArtifact(loader artifact.Loader) error

type DownloadCmd

type DownloadCmd struct {
	Args DownloadCmdArgs `positional-args:"true"`
}

func (*DownloadCmd) ExecuteArtifact

func (c *DownloadCmd) ExecuteArtifact(loader artifact.Loader) error

type DownloadCmdArgs

type DownloadCmdArgs struct {
	TargetDir *string `positional-arg-name:"TARGET-DIR" description:"Directory to download files (default: .)"`
}

type UploadReleaseCmd

type UploadReleaseCmd struct {
	Cmd bool `long:"cmd" description:"Show the command instead of running it"`
}

func (*UploadReleaseCmd) ExecuteArtifact

func (c *UploadReleaseCmd) ExecuteArtifact(loader artifact.Loader, opts UploadReleaseOpts) error

type UploadReleaseOpts

type UploadReleaseOpts struct {
	Name     string
	Version  string
	Stemcell string
}

type UploadStemcellCmd

type UploadStemcellCmd struct {
	Cmd bool `long:"cmd" description:"Show the command instead of running it"`
}

func (*UploadStemcellCmd) ExecuteArtifact

func (c *UploadStemcellCmd) ExecuteArtifact(loader artifact.Loader, opts UploadStemcellOpts) error

type UploadStemcellOpts

type UploadStemcellOpts struct {
	Name    string
	Version string
}

Jump to

Keyboard shortcuts

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