Command line utility for running argo proxies.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
README.md
index.js
package.json

README.md

Argod: Run proxies on the command line!

Simple utility that is callable via argod and will allow you to run exported proxies.

Getting Started

  1. Create your proxy
var argo = require("argo");

module.exports = argo().target("http://mdob.io/mdob/sandbox");
  1. Save it to a file.
  2. Run it with argod argod -p 4000 index.js

Usage

 Usage: argod [options] [proxy_file]

   Options:

      -h, --help                 output usage information
      -V, --version              output the version number
      -p, --port [port]          Port to run your proxy on. Default: 3000
      -h, --hostname [hostname]  Hostname for proxy to listen on. Default: Localhost
      -b, --backlog              Backlog setting.
      -c, --cert [cert]          Certificate setting. Required for SSL
      -k, --key [key]            Key setting. Required for SSL