tools.cli

Allow caller-supplied parse-fn

Details

  • Type: Enhancement Enhancement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Patch:
    Code and Test

Description

As for :parse-fn, a function can be supplied, this
is useful for standard use-cases such as: -vv, or when
you want to build a list from values.

PR: https://github.com/clojure/tools.cli/pull/11

Activity

Hide
Andy Fingerhut added a comment -

Pierre-Yves, there are instructions for creating patches under the headings "Development" and "Adding patches" on this page: http://dev.clojure.org/display/design/JIRA+workflow

Submissions to this module do require the author to sign a CA. Instructions here: http://clojure.org/contributing

Show
Andy Fingerhut added a comment - Pierre-Yves, there are instructions for creating patches under the headings "Development" and "Adding patches" on this page: http://dev.clojure.org/display/design/JIRA+workflow Submissions to this module do require the author to sign a CA. Instructions here: http://clojure.org/contributing
Hide
Pierre-Yves Ritschard added a comment -

Suggested Patch

Show
Pierre-Yves Ritschard added a comment - Suggested Patch
Pierre-Yves Ritschard made changes -
Field Original Value New Value
Attachment TCLI-2.diff [ 11952 ]
Hide
Pierre-Yves Ritschard added a comment -

Hello, now that I'm a registered contributor, I attached a file as suggested in the workflow wiki

Show
Pierre-Yves Ritschard added a comment - Hello, now that I'm a registered contributor, I attached a file as suggested in the workflow wiki
Hide
Gareth Jones added a comment -

Applied this patch, and will release as 0.2.4 shortly. Thanks.

Show
Gareth Jones added a comment - Applied this patch, and will release as 0.2.4 shortly. Thanks.
Hide
Gareth Jones added a comment -

Applied

Show
Gareth Jones added a comment - Applied
Gareth Jones made changes -
Patch Code and Test [ 10002 ]
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: