cmds

package
v0.0.0-...-fd3802b Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

* Copyright (c) 2016 Josh Vega * See LICENSE for license details.

* Copyright (c) 2016 Josh Vega * See LICENSE for license details.

* Copyright (c) 2016 Josh Vega * See LICENSE for license details.

* Copyright (c) 2016 Josh Vega * See LICENSE for license details.

* Copyright (c) 2016 Josh Vega * See LICENSE for license details.

Index

Constants

This section is empty.

Variables

View Source
var BuildCmd = cli.Command{
	Name:            "build",
	Aliases:         []string{"b"},
	Usage:           "build and compile the site",
	SkipFlagParsing: true,
	Action:          doBuild,
}

TODO: Add flag handling

View Source
var CleanCmd = cli.Command{
	Name:            "clean",
	Aliases:         []string{"c"},
	Usage:           "remove all content generated by hyde build/serve",
	SkipFlagParsing: true,
	Action:          doClean,
}

TODO: Add flag handling

View Source
var GenCmd = cli.Command{
	Name:            "generate",
	Aliases:         []string{"g"},
	Usage:           "generate a new resource for the current site",
	SkipFlagParsing: true,
	Action:          doGen,
}

TODO: Add flag handling

View Source
var NewCmd = cli.Command{
	Name:            "new",
	Aliases:         []string{"n"},
	Usage:           "creates a new Hyde site",
	ArgsUsage:       "[name]",
	SkipFlagParsing: true,
	Action:          doNew,
}

TODO: Add flag handling

View Source
var ServeCmd = cli.Command{
	Name:            "serve",
	Aliases:         []string{"s"},
	Usage:           "serve the current site on a development server",
	SkipFlagParsing: true,
	Action:          doServe,
}

TODO: Add flag handling

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