samples

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCmd

type CreateCmd struct {
	Cmd *cobra.Command
	// contains filtered or unexported fields
}

CreateCmd wraps the `create` command for samples which generates a new project

func NewCreateCmd

func NewCreateCmd(config *config.Config) *CreateCmd

NewCreateCmd creates and returns a create command for samples

type FixturesCmd added in v0.6.2

type FixturesCmd struct {
	Cmd *cobra.Command
	Cfg *config.Config
}

FixturesCmd prints a list of all the available sample projects that users can generate

func NewFixturesCmd added in v0.6.2

func NewFixturesCmd(cfg *config.Config) *FixturesCmd

NewFixturesCmd creates and returns a list command for samples

type ListCmd

type ListCmd struct {
	Cmd *cobra.Command
}

ListCmd prints a list of all the available sample projects that users can generate

func NewListCmd

func NewListCmd() *ListCmd

NewListCmd creates and returns a list command for samples

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳