Skip to content

Commit

Permalink
Fix cli output
Browse files Browse the repository at this point in the history
  • Loading branch information
karellm committed Apr 23, 2018
1 parent abef843 commit 715900b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ console.log()
console.log(' i18next Parser'.yellow)
console.log(' --------------'.yellow)
console.log(' Input: '.yellow + args.join(', '))
console.log(' Output: '.yellow + program.output)
console.log(' Output: '.yellow + output)
if (!program.silent) {
console.log()
}
Expand Down Expand Up @@ -98,4 +98,4 @@ vfs.src(globs)
console.log(' Stats: '.yellow + count + ' files were parsed')
})
)
.pipe(vfs.dest(output))
.pipe(vfs.dest(process.cwd()))
8 changes: 7 additions & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ To test the CLI:
```
yarn link
cd test
i18next 'templating/**/*' -o manual
i18next test/**/*.html -c i18next-parser.config.js
```

To test gulp:

```
gulp i18next
```

## `0.x` vs `1.x`
Expand Down
3 changes: 3 additions & 0 deletions i18next-parser.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
output: 'test/manual'
};

0 comments on commit 715900b

Please sign in to comment.