describe

package
v0.10.0-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package describe implements the template describe related subcommands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	cli.BaseCommand
	// contains filtered or unexported fields
}

func (*Command) Desc

func (c *Command) Desc() string

Desc implements cli.Command.

func (*Command) Flags

func (c *Command) Flags() *cli.FlagSet

func (*Command) Help

func (c *Command) Help() string

func (*Command) PredictArgs added in v0.9.3

func (c *Command) PredictArgs() complete.Predictor

func (*Command) Run

func (c *Command) Run(ctx context.Context, args []string) error

type DescribeFlags

type DescribeFlags struct {
	// Source is the location of the input template to be rendered.
	//
	// Example: github.com/abcxyz/abc/t/rest_server@latest
	Source string

	// GitProtocol either https or ssh.
	GitProtocol string
}

DescribeFlags describes what template to describe.

func (*DescribeFlags) Register

func (r *DescribeFlags) Register(set *cli.FlagSet)

Jump to

Keyboard shortcuts

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