cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian LeRoux...@brian.io>
Subject Re: cli plugins 'alias'?
Date Tue, 03 Sep 2013 00:37:40 GMT
love this idea


On Sat, Aug 31, 2013 at 2:36 PM, Jonathan Bond-Caron <
jbondc@gdesolutions.com> wrote:

> Setting up the mobile spec app was tedious since I didn't know the
> dependencies.
>
> I wrote a small patch that allows to pull a plugin from a git subdirectory
> e.g. cordova plugin add
> https://github.com/jbondc/cordova-labs?subdir=cordova-deps-mobile-spec
> https://issues.apache.org/jira/browse/CB-4715
>
> It got me thinking there might an opportunity to make this less tedious
> with an 'alias'
>
> e.g. cordova plugin add @cordova-test
>
> The @ symbol signals an 'alias' (cordova-test) that cli would expand to
> "https://.../cordova-plugin-battery-status https://.../cordova-plugin-device
> etc..."
> The list of plugins simply gets passed to plugman.
>
> A couple of 'core' aliases could make it easier to get started with
> cordova, e.g.
> cordova plugin add @cordova-common
> cordova plugin add @cordova-test
> cordova plugin rm @cordova-test
>
> Could also be called packaged / collection /  grouped plugins.
>
> Thoughts?
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message