command

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package cmd implements all the commands used by nephele.

Index

Constants

This section is empty.

Variables

View Source
var Command = &cobra.Command{
	Use:           "nephele",
	Long:          description,
	RunE:          run,
	SilenceUsage:  true,
	SilenceErrors: true,
}

Main command.

View Source
var Session *session.Session

AWS Session instance.

Functions

func AddCommand

func AddCommand(cmd *cobra.Command)

func Execute

func Execute()

Execute executes the provided command.

func PreRun

func PreRun(cmd *cobra.Command, args []string)

preRun will initialize the session required for all the child commands.

Types

This section is empty.

Jump to

Keyboard shortcuts

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