This pull request introduces a number of improvements:
command line options parsing is now done using a separate library, which provides for help messages and easier customization moving forward
a new flag --debug is added, which controls several aspects of diagnostic messages generation
when --debug is not specified, Ivy is now silenced and a number of other inessential messages are omitted. This fixes #94
when --debug is specified, additional diagnostic messages are produced in a number of circumstances, which may be of help while diagnosing failures
Note: the sbt launcher performs a preprocessing of command line options, "stealing" some of them from our control, which is unfortunate. As an example, --version is captured and ends up printing the launcher version, rather than being passed to us for processing. We might work around that in the future by providing an alternate main to the launcher, which is a bit less eager while parsing options.
This pull request introduces a number of improvements:
--debug
is added, which controls several aspects of diagnostic messages generation--debug
is not specified, Ivy is now silenced and a number of other inessential messages are omitted. This fixes #94--debug
is specified, additional diagnostic messages are produced in a number of circumstances, which may be of help while diagnosing failures Note: the sbt launcher performs a preprocessing of command line options, "stealing" some of them from our control, which is unfortunate. As an example,--version
is captured and ends up printing the launcher version, rather than being passed to us for processing. We might work around that in the future by providing an alternate main to the launcher, which is a bit less eager while parsing options.