scottgonzalez/node-browserstack

CLI and tunneling

Closed this issue · 4 comments

Hey Scott,
Would you be open to a pull request that adds a CLI for browserstack and support for tunneling? I had written my own browserstack.js for a CLI before coming across node-browserstack. It would be fairly easy to adapt my CLI work to node-browserstack.

Usage: browserstack [options] [command]

  Commands:

    launch <browser> <url>
    Launch a remote browser:version at a url

    tunnel <host> <port>
    Create a tunnel

    launched 
    List live browsers

    all
    List all available browsers

  Options:

    -h, --help     output usage information
    -V, --version  output the version number
    -u, --user     Launch authentication username:password
    -t, --timeout  Launch duration after which browsers exit
    -k, --key      Tunnel auth key
    --ssl          Tunnel should use ssl

Tunneling requires their .jar, right? So the code for tunneling would be completely separate from the code for the node module? If so, it probably makes sense to have two separate tasks: One to add a CLI on top of the existing module and one to add tunneling capabilities.

That's right. I'll separate them into two pull requests.
I'll get to work.

On Tue, Nov 13, 2012 at 2:51 PM, Scott González notifications@github.comwrote:

Tunneling requires their .jar, right? So the code for tunneling would be
completely separate from the code for the node module? If so, it probably
makes sense to have two separate tasks: One to add a CLI on top of the
existing module and one to add tunneling capabilities.


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-10347516.

Issue #9 addresses the CLI part.

In the interest of moving things along, I've create a separate repo, http://github.com/dbrans/browserstack-cli that includes the browserstack package as a dependency.

I'm going to close these CLI-related requests.