Skip to content

Commit ff92806

Browse files
committed
feat(ember-cli): pass cli tool options to ember-cli
1 parent c28b5f4 commit ff92806

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bin/wrenchjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// Provide a title to the process in `ps`
55
process.title = 'wrenchjs';
66

7+
var path = require('path');
78
var resolve = require('resolve');
89
var exit = require('exit');
910

@@ -26,7 +27,11 @@ resolve('wrenchjs', {
2627
cli({
2728
cliArgs: process.argv.slice(2),
2829
inputStream: process.stdin,
29-
outputStream: process.stdout
30+
outputStream: process.stdout,
31+
cli: {
32+
name: 'wrenchjs',
33+
projectRoot: path.join(__dirname, '..')
34+
}
3035
}).then(function(result) {
3136
var exitCode = typeof result === 'object' ? result.exitCode : result;
3237
exit(exitCode);

0 commit comments

Comments
 (0)