Module: Legion::CLI::Status
- Defined in:
- lib/legion/cli/status.rb
Class Method Summary collapse
Class Method Details
.run(out, options) ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/legion/cli/status.rb', line 11 def run(out, ) # Try the HTTP API first (running service) api_status = check_api() if api_status show_running(out, api_status, ) else show_static(out, ) end end |