#!/usr/bin/env node

const flos = require('../lib/api');
const FlosRunner = flos.Runner;

// load config
const config = {};
// load linters
const linters = [];
// create runner
const runner = new FlosRunner(linters);
// configure runner
runner.configure(config);
// flos
runner.run();

#!/usr/bin/env node

// must do this initialization *before* other requires in order to work
if (process.argv.indexOf("--debug") > -1) {
  require("debug").enable("flos:*");
}

const flos = require('../lib/api');
const FlosRunner = flos.Runner;

// load config
const config = {};
// load linters
const linters = [];
// create runner
const runner = new FlosRunner(linters);
// configure runner
runner.configure(config);
// flos
runner.run();

Enable debug mode with CLI option
Enable debug mode with CLI option
