Skip to content

Instantly share code, notes, and snippets.

@squarism
Created July 13, 2012 20:44
Show Gist options
  • Save squarism/3107341 to your computer and use it in GitHub Desktop.
Save squarism/3107341 to your computer and use it in GitHub Desktop.
Nodejitsu AuthN awesomeness
box ~ > npm install jitsu -g
/usr/local/bin/jitsu -> /usr/local/lib/node_modules/jitsu/bin/jitsu
box ~ > jitsu
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command
help: ___ __
help: / / / /_ / /
help: __/ / / __/ /__/
help:
help: Flawless deployment of Node.js apps to the cloud
help: open-source and fully customizable.
help: https://github.com/nodejitsu/jitsu
help:
help: Usage:
help:
help: jitsu <resource> <action> <param1> <param2> ...
help:
help: Common Commands:
help:
help: To sign up for Nodejitsu
help: jitsu signup
help:
help: To log into Nodejitsu
help: jitsu login
help:
help: To install a pre-built application
help: jitsu install
help:
help: Deploys current path to Nodejitsu
help: jitsu deploy
help:
help: Lists all applications for the current user
help: jitsu list
help:
help: Additional Commands
help: jitsu apps
help: jitsu logs
help: jitsu env
help: jitsu conf
help: jitsu users
help: jitsu databases
help: jitsu snapshots
help: jitsu logout
help:
help: Options:
help: --version, -v print jitsu version and exit [string]
help: --localconf search for .jitsuconf file in ./ and then parent directories [string]
help: --jitsuconf, -j specify file to load configuration from [string]
help: --noanalyze skip require-analyzer: do not attempt to dynamically detect dependencies [boolean]
help: --colors --no-colors will disable output coloring [boolean] [default: true]
help: --release, -r specify release version number or semantic increment (build, patch, minor, major) [string]
help: --raw jitsu will only output line-delimited raw JSON ( useful for piping ) [boolean]
info: Nodejitsu ok
box ~ > jitsu login
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command login
prompt: username: xxx_user
prompt: password: [password-shadowed-input]
info: Authenticated as xxx_user
info: Nodejitsu ok
box ~ > jitsu users
info: Welcome to Nodejitsu xxx_user
info: It worked if it ends with Nodejitsu ok
info: Executing command users
help: `jitsu users *` commands allow you to work with new
help: or existing user accounts
help:
help: jitsu users available <username>
help: jitsu users changepassword
help: jitsu users create
help: jitsu users forgot <username> <shake>
help: jitsu users login
help: jitsu users logout
help: jitsu users whoami
help:
help: You will be prompted for additional user information
help: as required.
help:
help: Options:
help: --version, -v print jitsu version and exit [string]
help: --localconf search for .jitsuconf file in ./ and then parent directories [string]
help: --jitsuconf, -j specify file to load configuration from [string]
help: --noanalyze skip require-analyzer: do not attempt to dynamically detect dependencies [boolean]
help: --colors --no-colors will disable output coloring [boolean] [default: true]
help: --release, -r specify release version number or semantic increment (build, patch, minor, major) [string]
help: --raw jitsu will only output line-delimited raw JSON ( useful for piping ) [boolean]
info: Nodejitsu ok
box ~ > jitsu users changepassword
info: Welcome to Nodejitsu xxx_user
info: It worked if it ends with Nodejitsu ok
info: Executing command users changepassword
prompt: password: [new-password-shadowed-input]
prompt: confirm password: [new-password-shadowed-input]
info: Nodejitsu ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment