cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "v0.3.0"
)

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type BuildOptions

type BuildOptions struct {
	Out, ErrOut io.Writer
}

func (*BuildOptions) Run

func (opt *BuildOptions) Run(cmd *cobra.Command, args []string) (err error)

type CloneOptions

type CloneOptions struct {
	Out, ErrOut io.Writer
	// contains filtered or unexported fields
}

func (*CloneOptions) Run

func (opt *CloneOptions) Run(cmd *cobra.Command, args []string) (err error)

type EnvOptions added in v0.1.1

type EnvOptions struct {
	Out, ErrOut io.Writer
}

func (*EnvOptions) Run added in v0.1.1

func (opt *EnvOptions) Run(cmd *cobra.Command, args []string) error

type GetContestOptions

type GetContestOptions struct {
	Out, ErrOut io.Writer
}

func (*GetContestOptions) Run

func (opt *GetContestOptions) Run(cmd *cobra.Command, args []string) (err error)

type GetOptions

type GetOptions struct {
	Out, ErrOut io.Writer
}

func (*GetOptions) Run

func (opt *GetOptions) Run(cmd *cobra.Command, args []string) (err error)

type GetSbmOptions

type GetSbmOptions struct {
	Out, ErrOut io.Writer
	// contains filtered or unexported fields
}

func (*GetSbmOptions) Run

func (opt *GetSbmOptions) Run(cmd *cobra.Command, args []string) (err error)

type GetTaskOptions

type GetTaskOptions struct {
	Out, ErrOut io.Writer
	// contains filtered or unexported fields
}

func (*GetTaskOptions) Run

func (opt *GetTaskOptions) Run(cmd *cobra.Command, args []string) (err error)

type JoinOptions

type JoinOptions struct {
	Out, ErrOut io.Writer
}

func (*JoinOptions) Run

func (opt *JoinOptions) Run(cmd *cobra.Command, args []string) (err error)

type NewOptions

type NewOptions struct {
	Out, ErrOut io.Writer
	// contains filtered or unexported fields
}

func (*NewOptions) Run

func (opt *NewOptions) Run(cmd *cobra.Command, args []string) (err error)

type RootOptions

type RootOptions struct {
	Out, ErrOut io.Writer
	// contains filtered or unexported fields
}

type RunOptions

type RunOptions struct {
	Out, ErrOut io.Writer
	// contains filtered or unexported fields
}

func (*RunOptions) Run

func (opt *RunOptions) Run(cmd *cobra.Command, args []string) error

type SampleInputNotExistError

type SampleInputNotExistError struct {
	// contains filtered or unexported fields
}

func NewSampleInputNotExistError

func NewSampleInputNotExistError(msg string) *SampleInputNotExistError

func (SampleInputNotExistError) Error

func (e SampleInputNotExistError) Error() string

type SubmitOptions

type SubmitOptions struct {
	Out, ErrOut io.Writer
	// contains filtered or unexported fields
}

func (*SubmitOptions) Run

func (opt *SubmitOptions) Run(cmd *cobra.Command, args []string) (err error)

type TestOptions

type TestOptions struct {
	Out, ErrOut io.Writer
	// contains filtered or unexported fields
}

func (*TestOptions) Run

func (opt *TestOptions) Run(cmd *cobra.Command, args []string) (err error)

type VersionOptions

type VersionOptions struct {
	Out, ErrOut io.Writer
}

func (*VersionOptions) Run

func (opt *VersionOptions) Run(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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