#!/usr/bin/env node
const programm = require('commander');
const caniuseYarn = require('../lib');
const pkg = require('../package.json');

programm
  .version(pkg.version)
  .parse(process.argv);

process.stdout.write(caniuseYarn().toString());

#!/usr/bin/env node
const programm = require('commander');
const caniuseYarn = require('../lib');
const pkg = require('../package.json');

programm
  .version(pkg.version)
  .parse(process.argv);

process.exit(caniuseYarn() ? 0 : 1);

Return 0 / 1 instead of "true" / "false"
Return 0 / 1 instead of "true" / "false"
