Class: DdsClient::CLI
- Inherits:
-
Thor
- Object
- Thor
- DdsClient::CLI
- Defined in:
- lib/dds_client/cli.rb
Instance Method Summary collapse
Instance Method Details
#heartbeat ⇒ Object
8 9 10 11 |
# File 'lib/dds_client/cli.rb', line 8 def heartbeat c = DdsClient::Api.create_from_env puts(c.heartbeat.to_json) end |
#list ⇒ Object
14 15 16 17 |
# File 'lib/dds_client/cli.rb', line 14 def list c = DdsClient::Api.create_from_env puts(c.list_containers.to_json) end |