You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gregor B. Rosenauer (JIRA)" <ji...@apache.org> on 2009/11/06 16:08:32 UTC

[jira] Created: (CLI-190) Backport support for Commands from CLI-2 to 1.x

Backport support for Commands from CLI-2 to 1.x
-----------------------------------------------

                 Key: CLI-190
                 URL: https://issues.apache.org/jira/browse/CLI-190
             Project: Commons CLI
          Issue Type: New Feature
          Components: CLI-1.x
    Affects Versions: 1.2
            Reporter: Gregor B. Rosenauer
            Priority: Minor


Currently, CLI 1.x only supports classic options parsing with "-o" or "--o" notation.
Support for new style command syntax like in Ant or maven (maven -o --o install...) is sorely missing in CLI 1.x, but available in the not-released 2.x version.
I postponed rewriting my options parsing code to wait for CLI2, but that was sadly cancelled, so I hope for a backport to 1.x.
As it is now, CLI could not be used for Apache's own projects...,-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CLI-190) Backport support for Commands from CLI-2 to 1.x

Posted by "Emmanuel Bourg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLI-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bourg updated CLI-190:
-------------------------------

    Fix Version/s: 1.4
           Labels: 

> Backport support for Commands from CLI-2 to 1.x
> -----------------------------------------------
>
>                 Key: CLI-190
>                 URL: https://issues.apache.org/jira/browse/CLI-190
>             Project: Commons CLI
>          Issue Type: New Feature
>          Components: CLI-1.x
>    Affects Versions: 1.2
>            Reporter: Gregor B. Rosenauer
>            Priority: Minor
>             Fix For: 1.4
>
>
> Currently, CLI 1.x only supports classic options parsing with "-o" or "--o" notation.
> Support for new style command syntax like in Ant or maven (maven -o --o install...) is sorely missing in CLI 1.x, but available in the not-released 2.x version.
> I postponed rewriting my options parsing code to wait for CLI2, but that was sadly cancelled, so I hope for a backport to 1.x.
> As it is now, CLI could not be used for Apache's own projects...,-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLI-190) Backport support for Commands from CLI-2 to 1.x

Posted by "Gregor B. Rosenauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLI-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877898#action_12877898 ] 

Gregor B. Rosenauer commented on CLI-190:
-----------------------------------------

yes, exactly, sorry for not being more specific in my report.
Something like "svn up, mvn install,..."

Currently CLI assumes that everything is an option, which is not always desired.

> Backport support for Commands from CLI-2 to 1.x
> -----------------------------------------------
>
>                 Key: CLI-190
>                 URL: https://issues.apache.org/jira/browse/CLI-190
>             Project: Commons CLI
>          Issue Type: New Feature
>          Components: CLI-1.x
>    Affects Versions: 1.2
>            Reporter: Gregor B. Rosenauer
>            Priority: Minor
>
> Currently, CLI 1.x only supports classic options parsing with "-o" or "--o" notation.
> Support for new style command syntax like in Ant or maven (maven -o --o install...) is sorely missing in CLI 1.x, but available in the not-released 2.x version.
> I postponed rewriting my options parsing code to wait for CLI2, but that was sadly cancelled, so I hope for a backport to 1.x.
> As it is now, CLI could not be used for Apache's own projects...,-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLI-190) Backport support for Commands from CLI-2 to 1.x

Posted by "Emmanuel Bourg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLI-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877875#action_12877875 ] 

Emmanuel Bourg commented on CLI-190:
------------------------------------

By "command" you mean a keyword as the first parameter that triggers a set of specific options? Something similar to the CLI of the svn client?

> Backport support for Commands from CLI-2 to 1.x
> -----------------------------------------------
>
>                 Key: CLI-190
>                 URL: https://issues.apache.org/jira/browse/CLI-190
>             Project: Commons CLI
>          Issue Type: New Feature
>          Components: CLI-1.x
>    Affects Versions: 1.2
>            Reporter: Gregor B. Rosenauer
>            Priority: Minor
>
> Currently, CLI 1.x only supports classic options parsing with "-o" or "--o" notation.
> Support for new style command syntax like in Ant or maven (maven -o --o install...) is sorely missing in CLI 1.x, but available in the not-released 2.x version.
> I postponed rewriting my options parsing code to wait for CLI2, but that was sadly cancelled, so I hope for a backport to 1.x.
> As it is now, CLI could not be used for Apache's own projects...,-)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.