Class: LanguageOperator::CLI::Commands::Organization

Inherits:
BaseCommand
  • Object
show all
Defined in:
lib/language_operator/cli/commands/organization.rb

Overview

Organization management commands

Instance Method Summary collapse

Methods included from Helpers::UxHelper

#box, #highlight_ruby_code, #logo, #pastel, #prompt, #spinner, #table

Instance Method Details

#listObject



24
25
26
27
28
29
# File 'lib/language_operator/cli/commands/organization.rb', line 24

def list
  handle_command_error('list organizations') do
    organizations_data = get_organizations_data
    Formatters::TableFormatter.organizations(organizations_data)
  end
end