dscape/futoncli — pull request #13 by jesusabdullah (2012-06-20 03:49:59+00:00)
Title: [ux] Alias "view" to "get"

A quick hack to make "view" work as an alias for "get". For example:

```

josh@onix:~/dev/futoncli$ futon document view jesusabdullah
info: Welcome to futon
info: It worked if it ends with futon ok
info: Executing command document view jesusabdullah
data:
data: {
data: resource: 'User',
data: addons-mailchimp-apikey: '1625f71c491ac1b9e569ba12d0b7c8d1-us2',
data: _rev: '16-f7d45298487ecd79341a5a7c70270e40',
data: username: 'jesusabdullah',
data: inviteCode: '9kWxF3kepSp',
data: password-salt: '********'
data: mtime: 1339699930624,
data: _id: 'jesusabdullah',
data: profile: {},
data: email: 'josh.holbrook@gmail.com',
data: status: 'active',
data: password: '********'
data: }
data:
info: futon ok
josh@onix:~/dev/futoncli$
```