i always forget about plugman On Sep 20, 2013, at 9:57 AM, Michal Mocny <mmo...@chromium.org> wrote:
> plugman create could be used outside of a project, and cordova plugin > create should be used only inside of a project? > > All other cordova commands must be used inside a project (except the > "create" entry point), and if we decide to ship the plugin templates with > platforms, and/or decide to make the global cordova command just a > grunt-cli like thing, etc etc, then I would worry about adding uses for > cordova command in some global context. > > > On Fri, Sep 20, 2013 at 6:42 AM, Lucas Holmquist <lholm...@redhat.com>wrote: > >> So currently when doing >> >> $ cordova plugin …. >> >> it fails if you are not in a cordova project. >> >> but >> >> $ cordova plugin create >> >> might not be used inside a project( i think it shouldn't be used inside a >> project at all, but i can be convinced otherwise ) >> >> >> On Sep 4, 2013, at 10:46 PM, lmnbeyond <lmnbey...@gmail.com> wrote: >> >>> >>> >>>> I also think it should sub-shell to a platform script. We already have >>>> a `project template` folder in each platform. We can easily add a >>>> `plugin template` as well and write a quick create_plugin script. >>>> >>>> What do you guys think of the workflow I described above ? Any >>>> comments ? I can create jira issues for it and tackle it. >>>> >>>> -a >>>> >>> >>> Hi Anis, >>> >>> I just want to confirm whether or not this is the workflow we are >> talking about : >>> >>> For a brand new plugin: >>> >>> $ cordova plugin create /path/to/myPlugin >>> $ cordova plugin add /path/to/myPlugin --watch >>> >>> >>> For an existing plugin: >>> >>> $ cordova plugin add /path/to/corePlugin --watch >>> >>> >>> Although, I'm not quite clear about the complexity behind this, I think >> the above workflow is great for me! >>> >>> >>> >>> >>> >>> >> >>