text: /**
   * Internal dependencies
   */
  import yargs from 'yargs';
  import log from './utils/logger';
  
  // eslint-disable-next-line consistent-return
  function main() {
  	try {
  		return yargs
  			.commandDir('commands')
  			.demandCommand()
  			.option('disableSpinner', {
  				description: 'Disable spinner',
  				default: false,
  				type: 'boolean',
  			})
  			.option('verbose', {
  				description: 'Enable verbose messages',
  				default: false,
  				type: 'boolean',
  			})
  			.option('useToken', {
  				description: 'Use specific token',
  				default: '',
  				type: 'string',
  			})
  			.help()
  			.wrap(Math.min(120, yargs.terminalWidth())).argv;
  	} catch (e) {
  		log.error(e.toString());
  	}
  }
  
  main();
  