commands

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: May 5, 2017 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_REPO_PREFIX = "https://raw.githubusercontent.com/wallix/awless-templates/master"
	FILE_EXT            = ".aws"
)

Variables

View Source
var RootCmd = &cobra.Command{
	Use:                    "awless COMMAND",
	Short:                  "Manage  and explore your cloud",
	Long:                   "awless is a powerful CLI to explore, sync and manage your infrastructure",
	BashCompletionFunction: bash_completion_func,
	RunE: func(c *cobra.Command, args []string) error {
		if versionGlobalFlag {
			printVersion(c, args)
			return nil
		}
		return c.Usage()
	},
}

Functions

func ExecuteRoot

func ExecuteRoot() error

func HasCmdOnelinerChilds

func HasCmdOnelinerChilds(cmd *cobra.Command) bool

func IsCmdAnnotatedOneliner

func IsCmdAnnotatedOneliner(annot map[string]string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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