const yargs = require('yargs');

process.on('unhandledRejection', (reason, promise) => {
  console.error('Unhandled rejection at: Promise', promise, 'reason', reason);
});

yargs
  .command(require('./create-admin'))
  .command(require('./create-token'))
  .command(require('./unfinished-applications'))
  .command(require('./suggest-responses'))
  .command(require('./respond'))
  .command(require('./expire-invitations'))
  .command(require('./teams'))
  .strict()
  .demand(1, 'Supply a command.')
  .help()
  .argv;

const yargs = require('yargs');

process.on('unhandledRejection', (reason, promise) => {
  console.error('Unhandled rejection at: Promise', promise, 'reason', reason);
});

yargs
  .command(require('./create-admin'))
  .command(require('./create-token'))
  .command(require('./unfinished-applications'))
  .command(require('./suggest-responses'))
  .command(require('./respond'))
  .command(require('./expire-invitations'))
  .command(require('./teams'))
  .demand(1, 'Supply a command.')
  .help()
  .argv;

Remove strict mode from hc-scripts Some of the scripts don't work with it enabled.
Remove strict mode from hc-scripts
Some of the scripts don't work with it enabled.
