CLI Consumes Main Library #30

Closed
mwbrooks opened this Issue Mar 24, 2013 · 1 comment

1 participant

@mwbrooks
PhoneGap member

At the moment, the CLI cheats in some respects:

  • var cordova = require('cordova');
  • var qrcode = require('qrcode-terminal');
  • var config = require('../common/config');

Additionally, it must awkwardly pass the phonegap object around. The PhoneGap object has been updated to include a global instance under lib/main.js, which is exposed as the npm main entry point.

The CLI should be updated to only use the lib/main.js. This is a good exercise for the library.

@mwbrooks mwbrooks added a commit that referenced this issue Mar 26, 2013
@mwbrooks mwbrooks [#30] Fix broken app specs. 7359882
@mwbrooks
PhoneGap member

The CLI is now a minimal implementation is consumes the phonegap library.

@mwbrooks mwbrooks closed this Mar 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment