For the prepare I was thinking hooks.

Does all hooks receive all the command line arguments including the extra
ones?

Sorry for create, I meant "platform add" that call the create script inside
the platform.

The use case is related to CB-7131 [1], to be use like "platform add ios
--project="CordovaProject"
Where the Cordova App name is different from the xcode project name.

[1]:https://issues.apache.org/jira/browse/CB-7231


On Wed, Jul 30, 2014 at 12:19 PM, Mark Koudritsky <[email protected]> wrote:

> I'll add to the docs for other commands.
>
> prepare actually does receive those extra args but it doesn't call any
> platform scripts, so there is nobody to pass them along to.
>
> create doesn't call any platform scripts as well, the subsequent "platform
> add" does, but allowing extra args to "cordova platform" is not obvious.
> E.g. need to decide what exactly the following means:
> cordova platform add ios android -- --some-arg
> Anyway first we should find out if there is a need for this. If yes it can
> be figured out.
>
> ​
>



-- 
Carlos Santana
<[email protected]>

Reply via email to