Skip to content

Commit

Permalink
chore: use gobstones-core v0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrodas committed Feb 13, 2021
1 parent b6182d9 commit 70ef863
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
19 changes: 10 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
"webpack-cli": "^4.5.0"
},
"dependencies": {
"@gobstones/gobstones-core": "^0.2.2"
"@gobstones/gobstones-core": "^0.2.3"
}
}
5 changes: 3 additions & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ cli({
help: 'cli.descriptions.help',
tool: 'cli.descriptions.tool',
language: 'cli.descriptions.language',
languageError: 'cli.errors.language',
version: 'cli.descriptions.version'
}
})
.command('parse [gbbString]', 'cli.descriptions.parse', (cmd) => {
cmd.input('cli.descriptions.in', 'cli.errors.file')
.output('cli.descriptions.in')
.output('cli.descriptions.out')
.option('pretty', 'cli.descriptions.pretty')
.action((app, _, opts: CLIArguments) => {
app.outputHelpOnNoArgs();
Expand All @@ -44,7 +45,7 @@ cli({
})
.command('stringify [jsonBoard]', 'cli.descriptions.stringify', (cmd) => {
cmd.input('cli.descriptions.in', 'cli.errors.file')
.output('cli.descriptions.in')
.output('cli.descriptions.out')
.option('pretty', 'cli.descriptions.pretty')
.action((app, _, opts: CLIArguments) => {
app.outputHelpOnNoArgs();
Expand Down

0 comments on commit 70ef863

Please sign in to comment.