commands

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2017 License: Apache-2.0 Imports: 44 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 cloud 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 HasCmdOnelinerChilds

func HasCmdOnelinerChilds(cmd *cobra.Command) bool

func IsCmdAnnotatedOneliner

func IsCmdAnnotatedOneliner(annot map[string]string) bool

func NewRunner added in v0.1.6

func NewRunner(tpl *template.Template, msg, tplPath string, fillers ...map[string]interface{}) *template.Runner

Types

This section is empty.

Source Files

  • autocompletion.go
  • config.go
  • errors.go
  • history.go
  • hooks.go
  • inspect.go
  • list.go
  • log.go
  • log_printers.go
  • revert.go
  • root.go
  • run.go
  • runner.go
  • scheduler.go
  • search.go
  • show.go
  • ssh.go
  • sync.go
  • tabcompletion.go
  • tail.go
  • version.go
  • web.go
  • whoami.go

Jump to

Keyboard shortcuts

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