123456789101112131415161718192021222324252627282930313233 |
- #!/usr/bin/env node
-
-
- var update = require('./lib/update');
-
-
- if (['--help', '/?', '-h', 'help', '-help', '/help'].indexOf(process.argv[2]) > -1) {
- update.help();
- } else {
- update.run(process.argv).done(function () {
- console.log('Successfully updated browser project.');
- }, function (err) {
- console.error('Update failed due to', err);
- process.exit(2);
- });
- }
|