We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need to take an argument from the command line and use it in the gulp-file ? This is my gulpfile.js var run = require('gulp-run');
gulpfile.js
gulp.task('default', function () { run('echo Hello user').exec() .pipe(gulp.dest('output')) })
How can I take an argument from Command line and pass it to this file , so that hello argument1 is pprinted instead of hello user?
hello argument1
hello user
The text was updated successfully, but these errors were encountered:
I believe your question may be outside of the scope of this project. But something like this might work:
gulp.task('default', function () { run('echo Hello ' + process.argv[1]).exec() .pipe(gulp.dest('output')) })
Sorry, something went wrong.
No branches or pull requests
I need to take an argument from the command line and use it in the gulp-file ?
This is my
gulpfile.js
var run = require('gulp-run');
How can I take an argument from Command line and pass it to this file , so that
hello argument1
is pprinted instead ofhello user
?The text was updated successfully, but these errors were encountered: