nodejitsu/jitsu — pull request #219 by gradus (2012-04-10 02:20:26+00:00)
Title: Add back "jitsu forgot" alias

Issue #211

My idea for the following error is to grab the username from .jitsuconf

error: Error running command users forgot
error: Username is required

Looks like this will have to be a pull request for https://github.com/flatiron/cli-users

I am thinking something like replacing

```javascript
if (!username) {
return callback(new Error('Username is required'), true);
}
```

with something like this

```javascript
if (!username) {
username = app.config.get('username')
app.log.info("Using username: " + username.magenta)
}
```

starting on line 319 of https://github.com/flatiron/cli-users/blob/master/lib/commands.js

Feedback?