kpiwko / jira-miner

A tool to gather data from JIRA and run extended queries on top of it
Apache License 2.0
12 stars 7 forks source link

Add option to specify path to custom .jira-minerdb #3

Open rsvoboda opened 7 years ago

rsvoboda commented 7 years ago

Location of DB is ~/.jira-minerdb, add option to specify custom location.

Use-case: to have different DBs for different sets of projects

kpiwko commented 7 years ago

@rsvoboda there is --db in populate command and --db in query command.

Do you need something on top of it?

rsvoboda commented 7 years ago

Ah, I looked only at jira-miner --help, didn't figure out that I can invoke jira-miner query --help It wasn't clear to me.

Maybe enhance Commands part of jira-miner --help output a bit to something like:

  populate <query> [options]  Populate local database with data based on query
  query <file> [options]      Query local database using query(ies) stored in file
  target <url> [options]      Connect to a JIRA module that will be used as data source
kpiwko commented 7 years ago

You can run jira-miner help command - but indeed, this is a nice improvement to be added.