Skip to content


Subversion checkout URL

You can clone with
Download ZIP


[minor] fixes #66, all aliases and commands are automatically picked up #67

merged 1 commit into from

2 participants


This should fix the problem that some aliases are not picked up by the help command. Also all future commands will automatically be detected. (less manual upkeep)

@nicoreed nicoreed merged commit ad3350a into nodejitsu:master

Word. \m/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 25, 2011
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 1 deletion.
  1. +7 −1 lib/jitsu/commands/help.js
8 lib/jitsu/commands/help.js
@@ -115,7 +115,13 @@ = function (name, action) {
// Setup exports for all relevant resources:
// `apps`, `snapshots`, `config`.
-['apps', 'databases', 'logs', 'snapshots', 'users', 'config', 'list', 'deploy', 'create'].forEach(function (resource) {
+var allCommands = []
+for (key in jitsu.commands.commands) {
+ allCommands.push(key);
+allCommands.forEach(function (resource) {
help[resource] = function (action, callback) {
if (!callback) {
callback = action;
Something went wrong with that request. Please try again.