Skip to content

Instantly share code, notes, and snippets.

@sintaxi
Created September 11, 2014 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sintaxi/bb844ab953beecdb681d to your computer and use it in GitHub Desktop.
Save sintaxi/bb844ab953beecdb681d to your computer and use it in GitHub Desktop.
var program = require("commander")
program
.version('0.0.1')
.usage("[project] [domain]")
.option("-e, --endpoint <domain>", "API endpoint of surge server (eg: surge.sh)")
program
.command("whoami")
.description("display who logged in as")
.action(function(app){
})
program
.command("logout")
.description("removes access token from local system")
program
.parse(process.argv);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment