Pivo
Installation
Add this line to your application's Gemfile:
gem 'pivo'
And then execute:
$ bundle
Or install it yourself as:
$ gem install pivo
Usage
Add Pivotal Trackert API token to $HOME/.pivo.yml
token: aaaaaaaaaaaaaaaa
Listing projects
$ pivo projects
Listing stories
$ pivo stories all PROJECT_NAME
$ pivo stories all PROJECT_NAME --status unstarted # filtering by status
Listing mywork
$ pivo stories all PROJECT_NAME --mywork ukstudio
$ pivo stories all PROJECT_NAME --mywork ukstudio --status unstarted # filtering by status
with peco
function pivo-open() {
local url="$(pivo stories all PROJECT_NAME --mywork ukstudio $1 | peco --query "$LBUFFER" | awk '{print $NF}')"
open ${url}
}
Create new story
$ pivo stories add PROJECT_NAME --name 'new story name' --description 'new story description'
Contributing
- Fork it ( https://github.com/ukstudio/pivo/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request