You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2013/09/29 11:28:40 UTC

[jira] [Updated] (COMPRESS-195) Additional command-line utility classes

     [ https://issues.apache.org/jira/browse/COMPRESS-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Bodewig updated COMPRESS-195:
------------------------------------

    Issue Type: Wish  (was: New Feature)

> Additional command-line utility classes
> ---------------------------------------
>
>                 Key: COMPRESS-195
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-195
>             Project: Commons Compress
>          Issue Type: Wish
>            Reporter: Sebb
>         Attachments: Archiver.java
>
>
> There is a Lister command-line utility which can be used to list the contents of any archive.
> It might be useful to have corresponding simple extraction / creation utilities for archive and compressed formats.
> For example:
> + archive contents of a directory (see attached)
> + extract archive into directory
> + compress/decompress files
> The existing Lister class is the only main() class at present, and is set as the default entry point for the jar. This means users don't have to provide the class name on the command line.
> It would be useful to extend this feature to cover the other command-line utilities.
> For example, create a new Main class as the default entry point, but delegate to the existing class if there are 1 or two parameters.
> Otherwise, delegate to the appropriate new utility class, e.g. based on a command-line flag.
> Users would still be able to invoke the individual classes directly.



--
This message was sent by Atlassian JIRA
(v6.1#6144)