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.
Click to show internal directories.
Click to hide internal directories.