otherwise: `now -d /path` would fail protip cc @rase- @nkzawa
@ -6,7 +6,10 @@ import login from '../lib/login';
import * as cfg from '../lib/cfg';
import { error } from '../lib/error';
const argv = minimist(process.argv.slice(2));
const argv = minimist(process.argv.slice(2), {
// all options are booleans
boolean: true
});
const subcommand = argv._[0];
// options
@ -13,7 +13,11 @@ import Now from '../lib';
import ms from 'ms';
import { handleError, error } from '../lib/error';
const help = () => {
console.log(`
${chalk.bold('𝚫 now')} [options] <command | path>
@ -10,7 +10,11 @@ import login from '../lib/login';
${chalk.bold('𝚫 now list')} [app]
@ -9,7 +9,11 @@ import login from '../lib/login';
const deploymentId = argv._[0];