cmd

package
v0.0.0-...-5e06dde Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2018 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "buffalo-heroku",
	Short: "Tools for deploying Buffalo to Heroku",
}

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.

func Interactive

func Interactive() error

Types

type App

type App struct {
	WebURL string `json:"web_url"`
}

type AppInfo

type AppInfo struct {
	App App `json:"app"`
}

type Setup

type Setup struct {
	AppName       string
	Environment   string
	Database      string
	Auth          bool
	DynoType      string
	EmailProvider string
	RedisProvider string
	Free          bool
	Interactive   bool
}

Setup holds the settings to setup the app

func (Setup) Run

func (s Setup) Run() error

Run runs setup steps

Jump to

Keyboard shortcuts

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