src/beerio-api.js
#!/usr/bin/env node
/* eslint-disable no-new */
// Import the neccesary modules.
import Index from './Index';
// Run the CLI program.
if (process.env.NODE_ENV === 'test') {
new Index({
pretty: false,
verbose: true
});
} else {
new Index();
}