controllers

package
v0.0.0-...-ac2752c Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthController = cli.Command{
	Name:      "auth",
	Aliases:   []string{"a"},
	Usage:     "packman auth <username> <password>",
	UsageText: "saving the auth information to your git repositories",
	Action: func(c *cli.Context) error {
		return auth(c)
	},
}
View Source
var PackController = cli.Command{
	Name:      "pack",
	Aliases:   []string{"p"},
	Usage:     "packman pack <path> <remote_url>",
	UsageText: "packing a folder by pushing it to the configured git's remote",
	Action: func(c *cli.Context) error {
		return pack(c)
	},
}
View Source
var RenderController = cli.Command{
	Name:      "render",
	Aliases:   []string{"r"},
	Usage:     "packman render <path> [-flagName flagValue]...",
	UsageText: "unpacking a template project with the given flags",
	Action: func(c *cli.Context) error {
		return render(c)
	},
}
View Source
var ScriptEngineController = cli.Command{
	Name:      "script",
	Aliases:   []string{"s"},
	Usage:     "packman script <script_command>",
	UsageText: "changes the command which meant to run the packman template script",
	Action: func(c *cli.Context) error {
		return changeScriptEngine(c)
	},
}
View Source
var UnpackController = cli.Command{
	Name:      "unpack",
	Aliases:   []string{"u"},
	Usage:     "packman unpack <remote_url> <path> [-flagName flagValue]...",
	UsageText: "unpacking a template project with the given flags",
	Action: func(c *cli.Context) error {
		return unpack(c)
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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