commands

package
v1.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StartLogger hclog.Logger = logger.HcLog().Named("start")

Functions

func ApplyCommand

func ApplyCommand() *cobra.Command

func BuildCommand

func BuildCommand() *cobra.Command

func ConfigureCommand

func ConfigureCommand() *cobra.Command

func GenerateCommand

func GenerateCommand() *cobra.Command

func ImportCommand

func ImportCommand() *cobra.Command

func InitCommand

func InitCommand() *cobra.Command

func PreRun

func PreRun(f *cli.LogFlags, callbacks ...func(path string) error) func(*cobra.Command, []string)

func RunCommand

func RunCommand() *cobra.Command

func ServeCommand

func ServeCommand() *cobra.Command

func StartCommand

func StartCommand() *cobra.Command

func VersionCommand

func VersionCommand() *cobra.Command

Types

type ApplyFlags

type ApplyFlags struct {
	cli.LogFlags
	Apply    apply.Flags
	Generate generate.Flags
}

type BuildFlags

type BuildFlags struct {
	cli.LogFlags
	Build    build.Flags
	Generate generate.Flags
}

type ConfigureFlags

type ConfigureFlags struct {
	cli.LogFlags
	Configure configure.Flags
}

The `type ConfigureFlags struct` is defining a struct type called `ConfigureFlags`. This struct is used to hold the flags and options that are used for the `configure` command. It embeds the `cli.Flags` struct, which provides common flags and options for the CLI, and also has a field called `Configure` of type `configure.Flags`, which holds the specific flags and options for the `configure` command.

type GenerateFlags

type GenerateFlags struct {
	cli.LogFlags
	Generate generate.Flags
}

type ImportsFlags

type ImportsFlags struct {
	cli.LogFlags
	Imports  imports.Flags
	Generate generate.Flags
}

type InitFlags

type InitFlags struct {
	cli.LogFlags
	Init init_cmd.Flags
}

type RunFlags

type RunFlags struct {
	cli.LogFlags
	Build    build.Flags
	Generate generate.Flags
}

type ServeFlags

type ServeFlags struct {
	cli.LogFlags
}

type StartFlags

type StartFlags struct {
	cli.LogFlags
	Configure configure.Flags
	Generate  generate.Flags
	Imports   imports.Flags
	Init      init_cmd.Flags
}

Jump to

Keyboard shortcuts

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