WGDev is a pluggable script for WebGUI developers. Contains a number of commands to make development, and is easily extended to provide more. Among the included commands are:
db: Connect to your WebGUI database with the mysql command line client. Can also load and dump database scripts.
edit: Edit assets specified by URL or asset ID using your preferred editor, or an arbitrary command.
package: Import or export packages, with an option to place files in the correct upgrade directory.
reset: Resets a site to the default state, including extensive options for cleanups to perform after doing so.
Additional commands can be written using WGDev and WebGUI's API. Full documentation of all command line options is provided. WGDev can be installed either as a single script with all included commands, or as a standard CPAN style distribution. To install the single script, run the following on your command line: