You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which actually does not provide any information about what exactly is missing.
Either we can specify that es_url, start, end and data_sources are missing such as:
2018-04-29 18:43:54,451 Missing needed params for Report: elasticsearch-url, start date, end date, data-sources
or we can throw an error such as:
No arguments provided!
Usage: manuscripts <options> <arguments>
Try 'manuscripts --help' for more information.
Also, there does not exists a help command so maybe we can add that too.
The text was updated successfully, but these errors were encountered:
Good point, @aswanipranjal. I think the way to go is the second one you propose. If you want to work on this, have a look at how the perceval command, in chaoss/grimoirelab-perceval, handles this case. If I remember well, we could do here pretty much the same. If you want, propose a pr following that direction (please, mention this issue in it).
aswanipranjal
added a commit
to aswanipranjal/grimoirelab-manuscripts
that referenced
this issue
May 14, 2018
Currently, when we type the command
manuscripts
on the command line, without providing any arguments, it throwsWhich actually does not provide any information about what exactly is missing.
Either we can specify that
es_url
,start
,end
anddata_sources
are missing such as:or we can throw an error such as:
Also, there does not exists a help command so maybe we can add that too.
The text was updated successfully, but these errors were encountered: