Skip to content

Instantly share code, notes, and snippets.

@sintaxi
Created December 16, 2015 09:47
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/abf6c6ce27a7394b88a0 to your computer and use it in GitHub Desktop.
Save sintaxi/abf6c6ce27a7394b88a0 to your computer and use it in GitHub Desktop.
Harp - Web Publishing Service (v1.0)
Usage: harp <dir> [domain]
Commands:
harp <dir> Starts development server on project directory
harp <dir> <domain> Deploys project directory to the web
harp <dir> <dir> Compiles project directory to other directory
Options:
-p, --port Specify port for server to listen on (9000)
-i, --ip I.P. address for server to bind to (127.0.0.1)
-e, --env Server/compile environment (development)
Account Commands:
harp ls List all published projects
harp rm <domain> Remove project from the web
harp login Authenticates and stores token in `.netrc` file
harp whoami Display user of current session
harp logout Remove local token from .netrc file
harp pro Upgrade account (Unlimited Domains & SSL $20/mo)
Examples:
harp . -p 9001 Starts dev server on current directory on port 9001
harp . example.com Deploys current directory to `example.com`
harp src www Compiles `src` directory to `www` directory
harp . _ Deploy to random generated domain (via prompt)
harp src ./example.com Compiles to local directory named `example.com`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment