cmd

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Types

type CreateCmd

type CreateCmd struct {
	TemplateURI     string            `arg:"-t,--template,required" help:"URI of the template"`
	DestinationPath string            `arg:"-d,--destination,required" help:"Destination path"`
	Variables       map[string]string `arg:"-v,separate" help:"Variables to use in the template. Can be specified multiple times"`
}

func (*CreateCmd) Execute

func (c *CreateCmd) Execute() error

type UpdateCmd

type UpdateCmd struct {
	FolderPath string            `arg:"required" help:"Folder path where the .ska-config.yml file is located"`
	Variables  map[string]string `arg:"-v,separate" help:"Variables to use in the template. Can be specified multiple times"`
}

func (*UpdateCmd) Execute

func (c *UpdateCmd) Execute() error

Jump to

Keyboard shortcuts

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