SpencerCDixon/redux-cli

View on GitHub
src/cli/index.js

Summary

Maintainability
A
0 mins
Test Coverage
import getParser from './parser';
import getHandler from './handler';

function cli() {
  const parser = getParser();
  const handler = getHandler();
  const argv = parser.parse(process.argv.slice(2));
  handler.handle(argv, parser);
}

module.exports = cli;