Skip to content

jlabusch/wrms-cli

Repository files navigation

wrms-cli

Limited command-line interactions for Catalyst WRMS.

For now it just dumps the brief+status of a WR and all its descendants.

Unlike the Search page's childof: query, this doesn't restrict the results to "direct" descendants - children-of-children are also shown.

Installing

    make
    sudo make install

This does depend on a recent version of Node.js, so you may have to add a slightly nonstandard PPA -

    sudo add-apt-repository ppa:chris-lea/node.js
    sudo apt-get update
    sudo apt-get install nodejs

Usage

    Usage: wr [options] <wr...>
    	--timesheets (show a timesheet-oriented view of the work requests)
    	--allocated-to <user> (Filter by case-insensitive regex, e.g. "james|sam")
    	--host <db-host=catwgtn-prod-pg92.db.catalyst.net.nz>
    	--format [pretty|csv]
    	--port <port=5432>
    	--sort-by [wr|brief|status]
    	--verbose
    	--debug

The default sort order is status, which is based on the status code's WRMS sequence number rather than alphabetical order; e.g. 'New Request' comes way before 'Need Info'.

About

Limited command-line interactions for Catalyst WRMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published