create

package
v0.0.0-...-436d47c Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package create handle functions to create projects

Index

Constants

This section is empty.

Variables

View Source
var CreateCmd = &cobra.Command{
	Use:   "create",
	Short: "Create Projects",
	Run: func(cmd *cobra.Command, args []string) {
		if len(args) <= 0 {
			fmt.Println("You need to provide at least a project name.")
		} else if len(args) >= 2 {
			fmt.Println("Too many names defined. For aditional configuration use flags.")
		} else {
			for _, element := range args {
				fmt.Println(element)
			}
		}
	},
}

CreateCmd command to create multiple projects.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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