cmd

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

README

cmd

import "github.com/deepthawtz/duncan/cmd"

Overview

Index

Package files

config.go deploy.go env.go list.go root.go secrets.go version.go

Variables

var RootCmd = &cobra.Command{
    Use:   "duncan",
    Short: "Duncan is a Docker deployment tool",
}

RootCmd represents the base command when called without any subcommands

var Version string

Version is a build time variable set via -ldflags

func Execute

func Execute()

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


Generated by godoc2md

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "duncan",
	Short: "Duncan is a Docker deployment tool",
}

RootCmd represents the base command when called without any subcommands

View Source
var Version string

Version is a build time variable set via -ldflags

Functions

func Execute

func Execute()

Execute adds all child commands to the root command 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