[ 
https://issues.apache.org/jira/browse/CB-6024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14037815#comment-14037815
 ] 

Mark Koudritsky edited comment on CB-6024 at 6/19/14 8:21 PM:
--------------------------------------------------------------

One options would be

cordova emulate windows --flavor=store 
cordova emulate windows --flavor=phone

This way CLI only knows about --flavor flag and we can expand the set of its 
possible values in the platform without any changes in CLI.
We can probably come up with a better name than "flavor" :)
Some possible names --type, --variant, --emulator, --vm
--vm is my favorite.



was (Author: kamrik):
One options would be

cordova emulate windows --vm=store 
cordova emulate windows --flavor=phone

This way CLI only knows about --flavor flag and we can expand the set of its 
possible values in the platform without any changes in CLI.
We can probably come up with a better name than "flavor" :)
Some possible names --type, --variant, --emulator, --vm
--vm is my favorite.


> nopt refactoring
> ----------------
>
>                 Key: CB-6024
>                 URL: https://issues.apache.org/jira/browse/CB-6024
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CLI, Plugman
>    Affects Versions: 3.3.0
>         Environment: Windows, Mac OSX
>            Reporter: Jonathan Bond
>            Assignee: Mark Koudritsky
>              Labels: patch
>             Fix For: 3.6.0
>
>
> As per mailing list:
> - Refactoring cli to use nopt. 
> - Several improvements to the install/uninstall tests to touch the file 
> system.
> - Consistency improvements in the code



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to