Create URF command-line utility.

Description

URF needs a standalone command-line utility for performing tasks such as converting files.

This first implementation can provide boilerplate to prepare for file conversion, but will not actually implement conversion.

Simple invocation might be (assuming urf is aliased to UrfCli):

Environment

None

Activity

Show:

Garret Wilson December 19, 2018 at 6:35 PM
Edited

The picocli library is really nice. With hardly any effort I can get all these to work:

  • urf

  • urf --version

  • urf --help

  • urf help

  • urf help convert

  • urf convert foobar.csv

  • urf convert foobar.csv --debug

And all of this with ANSI coloring in the console!

Plus picocli automatically calls my convert() method for the convert command.

Note that I'm also using Launch4j with Maven Launch4j Plugin to automatically create an urf.exe wrapper around the executable JAR file!

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created December 16, 2018 at 6:36 PM
Updated December 20, 2018 at 3:39 PM
Resolved December 20, 2018 at 3:39 PM