UNPKG

atlas-connect

Version:

CLI for the atlassian-connect-express library (helpers for building Atlassian Connect apps on top of Express)

16 lines (11 loc) 460 B
#!/usr/bin/env node var program = require('commander'); var path = require('path'); var updateNotifier = require('update-notifier'); var npmPackage = require(path.join(__dirname, '../package.json')); updateNotifier({ pkg: npmPackage }).notify({ defer: true }); program .version(npmPackage.version) .command('new [name]', 'create a new Atlassian Connect app') .command('configure', 'configure Connect dev environment') .parse(process.argv);