lionel

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

Lionel

Quality Gate Status Go Report Card

Trello, is it more you're looking for...

CLI application for getting information out of Trello

CLI application for retrieving data from Trello

Usage:
  lionel [command]

Available Commands:
  boards      List all the boards
  burndown    Provide a burndown table using the 'scrum for trello' plugin data
  cards       List all the cards for a given board
  help        Help about any command
  people      List all the cards for a given board sorted by the people the card is assigned to

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

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

Examples

The burndown table

$ lionel burndown "Sprint 2018.8"
List           Cards Story Points
----           ----- ------------
Sprint Backlog 2     0
Doing          5     0
Stuck          8     0
Code Review    10    0
Ready to Test  15    37
Done           42    85
-----          ----- ------------
Total          42    85
-----          ----- ------------

The boards list

$ lionel boards
How to earn a million dollars
Family Days Out
Garden Project
Meal Ideas

The cards list for a board

$ lionel cards "Golang the musical"
To do (1)
=========

* (1) Perform the musical

Progress (1)
============

* (250) Write a musical

Requirements

This application uses Go modules, so you will require:

Configuration

Environment variables

You will need the following environment variables defining:

export TRELLO_CLI_KEY=""
export TRELLO_CLI_SECRET=""

Creating a Trello API Token is documented here

Installation via Docker

Other than requiring docker to be installed, there are no other requirements to run the application this way. This is the preferred method of running the lionel. The image is here.

$ docker run \
  --rm \
  -t \
  -eTRELLO_CLI_KEY \
  -eTRELLO_CLI_SECRET \
  -v "${HOME}/.benmatselby":/root/.benmatselby \
  benmatselby/lionel:latest "$@"

The latest tag mentioned above can be changed to a released version. For all releases, see here. An example would then be:

benmatselby/lionel:version-1.1.0

This would use the verson-1.1.0 release in the docker command.

Installation via Git

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

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

Easy like Sunday morning

▒▓▓▓▒░▒▓▒▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒░░░▒▓████████████▓▒▓▓▒▒▒▒▒▒▒▒▒░░░░░░▒▒▒░▒▒▒▒▒▒▒▓▒▒▓░▒
▓▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒░▒▒▒▒▒▒▒▒▓█████████████████████▓▒▒▒▒▒▒▒▒▒▓▓▓▓▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒░▒
▒▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒▒▓▒▓▓▓██████████████████████████████▒▒▒▒░▒▒▒▒▒▒▒▒▓▒▓▒▒▓▒▓▓▒▒▓▒
▒▒▒▒▒▒▓▓▒▓█▓▒▒▒▓▒▒▓▓▓██████████████████████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▒
▓▓▓▓▓█▓▓▓▓▒▒▓▓▓▓▓▒██████████████████████████████████████▓▒░░░░▒▒▒▒░▒░░▒▒▒░▒▓▒█▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓██████████████████████████████████████████░▒░░░░▒▒░░░░░░▒▒▒▒▓▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░▓███████████████████████████████████████████▒░░░░░▒░░░░▒▒░▒▒▒▒▓
▒▒▒▒░░░░░▒▒░▒░░██████████████████████████████████████████████░░░░░▒░░░░▒▒░▒░▒▒▒
▒░▒░░░▒▒▒░▒░▒░▒███████████████████████████████████▓██████████▒░░░▒▒░░░░▒▒▒▒▒▒▓▒
▒▒▒░░░▒▒▒░░░▒░██████████████▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓███████▓░▒▒▒▒░░░░▒▒▒░▒▒▓▓
▒▓▒▒▒▒▒▒░░░░░▒████████▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒░░░░░▒▒▒▒▒▒▒▒▓▓▓▓▓███████░░▒▒▒▒▒░░▓▒▒▒░▒▒▒
▒▒▒▒░░░▒▒▒░▒▒▒███████▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░▒▒▒▒▒▒▒▒▒▓▓▓▓▓███████▓▒▒▒▓▓▒░▒▒▓▒▒▒▒▓▒
▒▒▒▒▒▒▒▒▓▓▓▓▓▓████████▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓████████▓▓▒▒▒▓▒▒░▒▓░▓▒▒▒▒
▒▒▒▒▒▒▒▒▒▒▒▒▒█████████▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒░▒░▒░▒▒▒▒▒▒▒▒▓▓▓▓████████▓░░░░▒░░▒░▒░░░░▒▒
▓▓▒▒▒▒▒▒▒▒▒░▒▒█████████▓▓▓▒▒▒▒▒▒▒▒▒▒▒░░▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓███████▓░░░░▒▒░░░░░░░░▒▒
▒▒▒▒▒▒▒░▒▒▒▒▒▒████████▓▓▓▓█▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓██▓▓▓▓▓██████░░░░░░░░░░░░░░░▒░
▒▒░░░▒▒▒▒▒▒▒▒▒▓██████▓████▓▓████▓▓▒▒▒▒▒▒▒▒▓▓▓███▓▓▓███▓▓█████▓░▒░▒░░▒▒░░░░░░░░▒
▒▒▒░▒▒▒▒▒▒▒▓▒▒▒▓█████▓███▓█████▓▓▓▓▓▒▒▒▒▓█▓▓▓██████▓▓█▓▓▓████▒░░▒░░▒░▒░▒░░░░░░░
▒▒▒░░▓▓▓▒░▒▒▒▒▒▓█████▓▓▓▓█▓▒██▓▒▓▓▓▓▒▒░▒▒▓▓▓▒▒▓▓▓▒▓██▒▓▓▓███▓▒░░░░░░░░░▒░░░░░░░
▒▒░▒░░▒▒▓▒▒▒▒▒▓▓▓███▓▓▓▒▒▓▓█▓▓▓▓▒▒▒▒▒▒░▒▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▓▓█▓█▓▓▒▒▒▒░░▒▒▒▒▒▒▓▓███
▒▒▒▒▒▒▒░▒▒▒▓▓▓▓▓▓████▓▓▒▒▒▒▒▒▒▒▒▒▒▒▓▒░░▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓███▓▓▒▓▓▓▒▒▒▒▒▒▓▒▒░▒▒▓
▒▒▒▒▒▒▒▒▒▒▒▓▓▓████▓███▓▓▓▒▒▒▒▒▒░▒▒▓▓▒▒▒▒▒▒▓▒▒░░░░▒▒▒▒▒▓▓██▓▓▓▓▓▓▒▒▒▒▒░░▒▒░▒▒░▒░
▒▒▒▒▒▒▒▒▒▒▓▓██████████▓▓▓▒▒▒░░░▒▒▓▒▓▒▒░▒▒▒▓▓▒▒░░░▒▒▒▒▓▓▓████▓▓▓▓▓▓▓▓▒▒▒▓▓▒▓▒▓▒░
▒▒▒▒░▒▒▒▒▒▓████████████▓▓▓▒▒▒▒▒▒▒▒▒▒▒░░░▒▓▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓███▓▓▒▒▒▒▒▒▒▒░▒░░▒▓▓▒▒
▒▒▒▒▒░▒▒▒▒▓▒▒▒▓▓▓██████▓▓▓▓▒▒▒▒▒▓▒▒▓▒▒▒▒▒▓▒▓▓▒▒▒▒▒▒▓▓▓▓▓▓██▓▓▓▓▒▒▒▒▒▒▒░░░░▒▒▒▒▒
▒▒░▒▒▒▒░░▒░▒▒▓▓▓▓███████▓▓▓▓▒▒▒▒███████████▓▓▒▒▒▒▒▓▓▓▓▓▓▓█▓▓▓▓▓▒▒▒▒▒▒░░░░▒▒▓▒▒░
░░▒▒▒▒▒▒▒▒░▒▒▓▓▓▓████████▓▓▓▒▒▒▒▒▓█████████▓▓▒▒▒▒▓▓▓▓▓▓▓███▓▓▓▓▒▒▒▒▒▒▒▒░░▒▒▓▒▒▓
░▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓███████▓▓▓▓▓█████▓▓▓█▓▒███████▓▓▓▓▓▓▓███▓▓▒▒▓▓▒▒▒▒▒░▒░▒▒▒░▒▓█
░▒▒▒▒▒▒▒▒░░░░▒▒▓▓▓████████▓▓██████▓▓▓▓▓▓▓▓▓▓█████▓▓▓▓▓████▓▓▓▓▓▒▒▒▒░░░▒░░▒░▒▒▒▒
░░▒▒▒▒▒░░░░░░▒▒▒▓▓▓█▓██████████▓▓▒▒▒▒▒▓▓▒▒▒▒▓▓▓▓▓▓▓█▓████▓▓▒▓▒▒▓▓▓▒▒▓▒░▒▒▒▒▓▒▒▒
░░▒▒▒▒▒░░░░░▒▒▒▒▓▓███████████▓▓▓▓█▓▓▒▒▒▒▒▒▓██▓▓▓▓▓██████▓▓▓▓██▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒
▒▒▒▓▒▒▒▒▒▒▒░▒▓▒▓▓▓██▓████████▓▓▓███████████▓▓▓▓▓███████▓█▓▓▓▓▓▓▓▒▒▒▒▒▒▒▓▒▒▒░░░▒
▒▒▒▓▓▒▓▒░▒▒▒▓▓▓▒▒▒▓███████████▓▓▓▓▓▓████▓▓▓▓▓▓▓███████▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒░░░▒▒▒▒
▒▒▓██▒▒▒▒▒▓▒▓▒▓▓▓▓▓██████████████▓▓▒▒▒▒▒▒▒▒▓█▓███████▓▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▒░▒░▒░
▓▒▓▓▓▒▒▒▒▓▒▒▒▓▒▓▓▓▓▓▓▓██████████████▓▓▓▓▓▓▓█████████▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓
▓▒▒▒▓▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓███▓█████████████████████████▒▒▓▓▓▓▓▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
█▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▒▒▓████▓▒███████████████████████▒▒▒▒▒▓▓▒▒▓▓▓▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒
▓▒▒█▓▒▒▒▒▓▓▓▓▓▒▒▒▓▒▒▒▓▓█▓▓▒▓███████████████████▓▓▒▒▒▒▒▒▒▓▓▓▓▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒▒▒
▓▒▓██▒▒▓▓▓▒▒▓▒▒▓▓▒▒▒▒▓▓▓▓▓▒▓▓██████████████████▓▒▒▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package mock_trello is a generated GoMock package.
Package mock_trello is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL