Skip to content

⚙️ CLI application for retrieving data from Azure DevOps

License

Notifications You must be signed in to change notification settings

benmatselby/donny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Donny

Go Go Report Card

Forget it, Donny, you're out of your element!

CLI application for getting information out of Azure DevOps. It's based on Trello CLI so the aims are the same:

CLI application for retrieving data from Azure DevOps

Usage:
  donny [command]

Available Commands:
  branch             Provide a list of pull requests
  builds             Provide a list of builds
  help               Help about any command
  iteration-burndown Provide a burndown of the iterations
  iteration-items    Provide a list of items in an iterations
  iteration-people   Provide a person breakdown for the iteration
  iterations         Provide a list of iterations
  plan               Get information about a delivery plan
  plans              Provide a list of delivery plans
  prs                Provide a list of pull requests
  teams              Provide a list of teams (Defaults to teams you are in)

Flags:
      --config string   config file (default is $HOME/.benmatselby/donny.yaml)
  -h, --help            help for donny

Use "donny [command] --help" for more information about a command.

Requirements

If you are wanting to build and develop this, you will need the following items installed. If, however, you just want to run the application I recommend using the docker container (See below)

  • Go version 1.16+

Configuration

You will need the following environment variables defining:

export AZURE_DEVOPS_ACCOUNT=""
export AZURE_DEVOPS_PROJECT=""
export AZURE_DEVOPS_TEAM=""
export AZURE_DEVOPS_TOKEN=""

Installation via Docker

Other than requiring docker to be installed, there are no other requirements to run the application this way.

$ docker run -t benmatselby/donny .
$ docker run \
    --rm \
    -t \
    -eAZURE_DEVOPS_ACCOUNT \
    -eAZURE_DEVOPS_PROJECT \
    -eAZURE_DEVOPS_TEAM \
    -eAZURE_DEVOPS_TOKEN \
    benmatselby/donny "$@"

Installation via Git

git clone git@github.com:benmatselby/donny.git
cd donny
make all
./donny builds

You can also install into your $GOPATH/bin by go install