`jitsu help logout` #66

Closed
jfhbrook opened this Issue Jul 22, 2011 · 2 comments

2 participants

@jfhbrook

jitsu's help resource does not recognize logout as a resource:

josh@pidgey:~$ jitsu help logout
info:   Welcome to Nodejitsu
info:   It worked if it ends with Nodejitsu ok
info:   Executing command help logout
error:  Unknown action logout on resource help
. . .
help:   Additional Commands
help:   
help:     jitsu apps
help:     jitsu snapshots
help:     jitsu users
help:     jitsu conf
help:     jitsu logout
help:   
help:   
error:  Error running command help logout
info:   Nodejitsu not ok

However, jitsu logout works, and jitsu help users logout returns useful information.

@nicoreed

thats because logout isnt a resource, its an alias. I'm guessing the help command needs to be updated so that it checks aliases too.

@jfhbrook

That's true, but other aliases register with the help command. For example, jitsu help deploy totally works, and deploy is an alias too.

@nicoreed nicoreed closed this in d881e06 Jul 25, 2011
@nicoreed nicoreed closed this in ad3350a Jul 25, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment