root

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cobra.Command{
	Use:               "apex",
	PersistentPreRunE: preRun,
	SilenceErrors:     true,
	SilenceUsage:      true,
}

Command config.

View Source
var Config *aws.Config

Config for AWS.

View Source
var Project *project.Project

Project instance.

View Source
var Session *session.Session

Session instance.

Functions

func PreRunNoop

func PreRunNoop(c *cobra.Command, args []string)

PreRunNoop noop for other commands.

func Prepare added in v0.7.0

func Prepare(c *cobra.Command, args []string) error

Prepare handles the global CLI flags and shared functionality without the assumption that a Project has already been initialized.

Precedence is currently:

  • flags such as --profile
  • env vars such as AWS_PROFILE
  • files such as ~/.aws/config

func Register

func Register(cmd *cobra.Command)

Register `cmd`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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