[ 
https://issues.apache.org/jira/browse/BUILDR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619651#action_12619651
 ] 

Assaf Arkin commented on BUILDR-118:
------------------------------------

Command line options get processed before/without buildfile, so it's not 
practical to have the buildfile expand them.

Consider these two:
  buildr --help
  buildr help

The first one can't use the buildfile, so it can only show you the same options 
Buildr supports everywhere.  The second one happens after the buildfile loads, 
and you can extend it as you see fit, and also use more specific tasks like 
help:projects.

> extensible CLI flags
> --------------------
>
>                 Key: BUILDR-118
>                 URL: https://issues.apache.org/jira/browse/BUILDR-118
>             Project: Buildr
>          Issue Type: Wish
>          Components: Core features
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>
> As I develop my buildfile and extensions, there are more and more options for 
> the user to control. I can use 'name=value' on the CLI, but there's no help, 
> validations, etc.
> I therefor would like to ask to consider adding support for extensions to add 
> flags to the list of options. 

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

Reply via email to