cmd

package
v0.0.0-...-b100ab3 Latest Latest
Warning

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

Go to latest
Published: May 5, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CfgFile, Source, Deploy string
View Source
var RootCmd = &cobra.Command{
	Use:   "hugodeploy",
	Short: "HugoDeploy deploys files to a webserver using SFTP",
	Long: `HugoDeploy tracks changes made to a local directory and
transfers those changes to a remote server. Currently the transfer
is done using SFTP.

HugoDeploy can generate a list of changed files using the preview
command and does the actual transfer using the push command.

By default HugoDeploy minifies files prior to transfer.

HugoDeploy requires a configuration file to nominate directories and
setup server connection details. By default the configuration file is
expected in the directory HugoDeploy is executed from.`,
}

This represents the base command when called without any subcommands

View Source
var SkipFiles []string
View Source
var Verbose, Debug, UnMinify bool

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.

func LoadDefaultSettings

func LoadDefaultSettings()

func ProjectPath

func ProjectPath() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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