add

package
v0.0.0-...-7749cd0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdAdd = &cobra.Command{
	Use:   "add",
	Short: "Create a task file by template",
	Long:  "Create a task file using the task template. Example: gole task add EmailWelcome",
	Run:   run,
}

CmdAdd represents the new command.

Functions

This section is empty.

Types

type Task

type Task struct {
	Name      string
	LcName    string
	UsName    string
	ColonName string
	Path      string
	Service   string
	Package   string
	ModName   string
	WithCache bool
}

Repo is a cache generator.

func (*Task) Generate

func (t *Task) Generate() error

Generate generate a repo template.

Jump to

Keyboard shortcuts

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