Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Feature Request: options arguments #18

Closed
calekennedy opened this issue Jul 21, 2015 · 3 comments
Closed

Feature Request: options arguments #18

calekennedy opened this issue Jul 21, 2015 · 3 comments

Comments

@calekennedy
Copy link

It would be really nice to be able to pass options arguments to the plugin

i.e.,

gulp.task('open-chrome', function(){
  var options = {
    uri: 'http://localhost:3000',
    app: 'chrome',
    options: '--open-fullscreen'
  };
  gulp.src(__filename)
  .pipe(open(options));
});

@stephenlacy
Copy link
Owner

node-open must first support the optional arguments: https://github.com/pwnall/node-open

@stephenlacy
Copy link
Owner

I will probably switch open to opn https://www.npmjs.com/package/opn

@stephenlacy
Copy link
Owner

switched to opn

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants