Cleaning up flags.

This commit is contained in:
David Diaz 2018-04-30 19:53:45 -06:00
parent 0d919a2391
commit c4e2f610e3
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ class ListCommand extends Base {
const { flags } = this.parse(ListCommand); const { flags } = this.parse(ListCommand);
const Beau = this.loadConfig(flags.config); const Beau = this.loadConfig(flags.config);
if (flags.format === false) { if (flags['no-format']) {
return Beau.requests.list.forEach( return Beau.requests.list.forEach(
({ VERB, ALIAS, ENDPOINT, PATH }) => ({ VERB, ALIAS, ENDPOINT, PATH }) =>
this.log( this.log(

View File

@ -29,7 +29,7 @@ class RequestCommand extends Base {
new Line().output(); new Line().output();
jsome(verbose ? res : body); jsome((verbose ? res : body) || null);
} }
async run() { async run() {