operations

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2016 License: MIT Imports: 12 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AssumeYes bool

Functions

func AskForInput added in v0.0.2

func AskForInput(message, defaultValue string, validators ...Validator) (string, error)

func ConfirmCreateSite

func ConfirmCreateSite(cmd *cobra.Command) bool

func CreateSite

func CreateSite(cmd *cobra.Command, client *porcelain.Netlify, ctx context.Context) (*models.Site, error)

Types

type Validator added in v0.0.2

type Validator func(string) error

Jump to

Keyboard shortcuts

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