StackStorm/st2 — pull request #905 by manasdk (2014-12-16 21:47:47+00:00)
Title: Trigger visbility improvements

- Adds a cli command to returns the Trigger for a TriggerType.
- In cli TriggerType = Trigger & Trigger = TriggerSpecification. However, this is handled via aliasing and not in the type system.

(Btw, name is open for review)

```
$ st2 trigger getspecs core.st2.webhook
+--------------------------+------+------+----------------+------------------+
| id | name | pack | parameters | type |
+--------------------------+------+------+----------------+------------------+
| 5490a7dceba55b4b05a1c614 | 1 | core | {u'url': u'1'} | core.st2.webhook |
| 5490a7e9eba55b4b05a1c615 | 2 | core | {u'url': u'2'} | core.st2.webhook |
+--------------------------+------+------+----------------+------------------+
```