plainblack.com
Username Password
search
Bookmark and Share

WGDev

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 prefered 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 fllowing on your command line:

  • curl -O http://haarg.org/wgd
  • chmod +x wgd

Alternatively, download the .tar.gz file and install as any other CPAN distribution.

Release Notes for Version 0.8.0 (9/1/2010)
  • self-upgrade no longer needs a WebGUI root
  • Fix edit command for WebGUI 8
  • Fix placement of packages when using -u flag in WebGUI 8
  • Fix command list for single file dist
  • Return an error code from ls if asset not found
  • Fix purging old revisions in WebGUI 8
  • Show better error messages when edit command fails
Comments
5perlDreamer: "This package rocks!  It's saved me tons of time, especially in dealing with templates."
5patspam: "Totally agreed, I pretty much can't live without wgd nowadays. Ridiculously useful. And great for building custom functionality on top of. Hats off to Haarg!"
DownloadWGDev-v0.8.0.tar.gz WGDev-v0.8.0.tar.gz
LinksMore Information
Support
Screenshotswgd-reset-help.png wgd-reset-run.png wgd.png
Statistics Downloads: 491
Views: 989
Rating: 5
Updated: 9/1/2010
Keywords utility development
NavigationBack to the Bazaar
© 2010 Plain Black Corporation | All Rights Reserved