Class: Ey::Core::Cli::Servers
- Inherits:
-
Subcommand
- Object
- Belafonte::App
- Subcommand
- Ey::Core::Cli::Servers
- Defined in:
- lib/ey-core/cli/servers.rb
Instance Method Summary collapse
Methods inherited from Subcommand
#handle_core_error, #run_handle, #setup
Methods included from Helpers::Core
#core_account, #core_accounts, #core_application_for, #core_applications, #core_client, #core_environment_for, #core_environment_variables, #core_environments, #core_operator_and_environment_for, #core_server_for, #core_url, #core_yaml, #eyrc_yaml, included, #longest_length_by_name, #operator, #unauthenticated_core_client, #write_core_yaml
Instance Method Details
#handle ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/ey-core/cli/servers.rb', line 28 def handle puts TablePrint::Printer.new( servers, [ { id: { width: 10 } }, :role, :provisioned_id, { public_hostname: { width: 50 } }, :name, ] ).table_print end |