#!/usr/bin/env node
/* eslint-disable no-mixed-spaces-and-tabs */
'use strict';
const meow = require('meow');
const bundleName = require('bundle-name');

const cli = meow(`
	Usage
	  $ bundle-name <bundle-id>

	Example
	  $ bundle-name com.apple.Safari
	  Safari
`);

if (!cli.input[0]) {
	console.error('Bundle ID required');
	process.exit(1);
}

bundleName(cli.input[0]).then(console.log);

@@ -17,54 +17,8 @@
 ode%0A
-/* eslint-disable no-mixed-spaces-and-tabs */%0A
 'use

remove ESLint directive as the ESLint bug was fixed