commands

package
v3.1.0-M2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "yorc",
	Short: "A new generation orchestrator",
	Long: `yorc is the main command, used to start the http server.
Yorc is a new generation orchestrator.  
It is cloud-agnostic, flexible and secure.
`,
	SilenceErrors: true,
	Run: func(cmd *cobra.Command, args []string) {
		err := cmd.Help()
		if err != nil {
			fmt.Print(err)
		}
	},
}

RootCmd is the root of yorc commands tree

Functions

func ConfigureYorcClientCommand

func ConfigureYorcClientCommand(c *cobra.Command, v *viper.Viper, cfgFile *string, noColor *bool)

ConfigureYorcClientCommand setups a Command of the CLI part of Yorc

func GetYorcClientConfig

func GetYorcClientConfig(v *viper.Viper, cfgFile string) config.Client

GetYorcClientConfig retrives Yorc client configuration

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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