create

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands = []cli.Command{
	{
		Name:   "command",
		Usage:  "Create a runShell or runPowershell SSM document from a provided script.",
		Action: generateRunCommand,
		Before: func(c *cli.Context) error {
			if len(c.Args()) == 0 {
				return errors.New("Missing script argument")
			}

			return nil
		},
		Flags: []cli.Flag{
			cli.StringFlag{
				Name:  "output, o",
				Value: "",
				Usage: "Name of the resulting SSM file. Optional.",
			},
			cli.StringFlag{
				Name:  "type, t",
				Value: "",
				Usage: "Type of SSM Run Document to create. (ie: powershell, bash) Optional",
			},
		},
	},
}

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