Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 090F5102DD for ; Sun, 29 Sep 2013 09:29:44 +0000 (UTC) Received: (qmail 5754 invoked by uid 500); 29 Sep 2013 09:29:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 5555 invoked by uid 500); 29 Sep 2013 09:29:02 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 5301 invoked by uid 99); 29 Sep 2013 09:28:40 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Sep 2013 09:28:40 +0000 Date: Sun, 29 Sep 2013 09:28:40 +0000 (UTC) From: "Stefan Bodewig (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (COMPRESS-195) Additional command-line utility classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)