Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CMD_PLUGIN = cli.Command{ Name: "plugin", Usage: "copy plugin files from development directory into the gocms plugin directory", ArgsUsage: "<source> <gocms installation>", Action: cmd_copy_plugin, 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: flag_entry + ", " + flag_entry_short, Usage: "Build the plugin using the following entry point. Defaults to 'main.go'.", }, cli.StringSliceFlag{ Name: flag_dir_file_to_copy + ", " + flag_dir_file_to_copy_short, Usage: "Directory or file to copy with plugin. Accepts multiple instances of the flag.", }, cli.BoolFlag{ Name: flag_run_gocms + ", " + flag_run_gocms_short, Usage: "Run gocms after plugin is compiled and copied.", }, cli.BoolFlag{ Name: flag_gocms_dev_mode + ", " + flag_gocms_dev_mode_short, Usage: "This option is intended for use only during gocms development. It is used to compile and run gocms from the specified destination directory.", }, 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.