/fogbugz-commands

A FogBugz CLI written in Ruby.

Primary LanguageRubyMIT LicenseMIT

Fogbugz::Commands

Gem Version Build Status Code Climate Test Coverage

Command line interaction with FogBugz.

Installation

gem install fogbugz-commands

Usage

Use report to view the time registered in a time interval on a particular case or for a particular person:

fogbugz report --server company.fogbugz.com --email ini@company.com --from 2016-10-01 --to 2017-02-12 --id 67
fogbugz report --server company.fogbugz.com --email ini@company.com --from 2016-10-01 --to 2017-02-12 --case 12345

Use last_week to view the time registered for a particular case, all persons in the previous week:

fogbugz last_week --server company.fogbugz.com --email ini@company.com --case 12345

Use this_week to view the time registered for a particular person, all cases in the current week:

fogbugz this_week --server company.fogbugz.com --email ini@company.com --id 67

Use person to view details of a person based on the person's FogBugz ID:

fogbugz person --server company.fogbugz.com --email ini@company.com --id 67

View help on all commands or a specific command with:

fogbugz help
fogbugz help <command>

External Links

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Comments, bug reports and pull requests are welcome on GitHub at https://github.com/martinmosegaard/fogbugz-commands.

License

The gem is available as open source under the terms of the MIT License.