cmd

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "aws-ps [command] [option]",
	Short: "AWS parameter store export helper",
	Long: `AWS parameter store export helper:

ex)
  $ aws-ps load -p /path/to/key
  > export ENV_KEY=value;ENV_KEY_2=value2

usage)
  $ $(AWS_REGION=ap-northeast-1 aws-ps load -p /path/to/key) && run.sh
  then aws-ps will export environment parameters fetched from AWS Parameter Store:
`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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