Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
brigand committed Apr 11, 2017
1 parent 7d5b3c3 commit 1380a08
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "config-wizard",
"version": "0.0.1",
"private": true,
"homepage": "https://brigand.github.io/config-wizard",
"dependencies": {
"yargs": "^7.0.2"
Expand Down
37 changes: 19 additions & 18 deletions src/cli/config-wizard-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,26 @@

const yargs = require('yargs');

const {argv} = yargs.command(
'babelrc',
`generate a babelrc and install deps`,
{
edge: {
default: 'cutting',
const {argv} = yargs
.command(
'babelrc',
`generate a babelrc and install deps`,
{
edge: {
default: 'cutting',
},
framework: {
required: true,
},
support: {
required: true,
},
},
framework: {
required: true,
},
support: {
required: true,
},
},
(argv) => {
console.log(`babelrc command not currently supported`);
process.exitCode = 1;
}
)
(argv) => {
console.log(`babelrc command not currently supported`);
process.exitCode = 1;
}
)
.demandCommand(1, `Please specify a command`);

// console.log(argv);
Expand Down

0 comments on commit 1380a08

Please sign in to comment.