theme

package
v0.0.0-...-d599ef7 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2017 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CMD_THEME = cli.Command{
	Name:      "theme",
	Usage:     "copy theme files from development directory into the gocms themes directory",
	ArgsUsage: "<source> <gocms installation>",
	Action:    cmd_copy_theme,
	Flags: []cli.Flag{
		cli.BoolFlag{
			Name:  flag_hard + ", " + flag_hard_short,
			Usage: "Delete the existing destination and replace with the contents of the source.",
		},
		cli.BoolFlag{
			Name:  flag_watch + ", " + flag_watch_short,
			Usage: "Watch for file changes in source and copy to destination on change.",
		},
		cli.StringFlag{
			Name:  theme_name + ", " + theme_name_short,
			Usage: "Name of the theme. *Required",
		},
		cli.StringSliceFlag{
			Name:  flag_ignore_files + ", " + flag_ignore_files_short,
			Usage: "Files to ignore while watching. Multiple ignore flags can be given to ignore multiple files. Ignore files are regex capable. ex: .git*",
		},
	},
}

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