harlantwood/dreamy — pull request #2 by arnebrasseur (2012-05-09 13:17:08+00:00)
Title: Add support for api-list_accessible_cmds

This patch adds two new commands, they both use api-list_accessible_cmds to list commands that the current API can access

dh api:cmds

+----------------------------------+
| Command |
+----------------------------------+
| account-domain_usage |
| account-list_accounts |
| account-list_keys |
| account-status |
| account-user_usage |
| api-list_accessible_cmds |
| api-list_keys |
| domain-list_certificates |
| domain-list_domains |
| domain-list_registrations |
| domain-registration_available |
| dreamhost_ps-add_key |
| dreamhost_ps-add_ps |
+----------------------------------+

dh api:cmd_args

+----------------------------------+----------------+--------------------+
| Command | Arguments | Results |
+----------------------------------+----------------+--------------------+
| account-domain_usage | | domain |
| | | type |
| | | bw |
| account-list_accounts | | account_id |
| | | name |
| | | status |
| | | opened |
| | | yours |
| domain-registration_available | domain | available |
| dreamhost_ps-add_key | key_name | added_key |
| | ps_name | |
| dreamhost_ps-add_ps | type | ps_name |
| | | token |
+----------------------------------+----------------+--------------------+