Class: Circler::ProjectsCommand

Inherits:
BaseCommand show all
Defined in:
lib/circler/command/projects_command.rb

Class Method Summary collapse

Methods inherited from BaseCommand

build_number, project_name, reponame, setup_token, should_be_pretty

Class Method Details

.run(options) ⇒ Object



6
7
8
9
# File 'lib/circler/command/projects_command.rb', line 6

def run(options)
  setup_token
  say ProjectPrinter.new(Project.all, pretty: should_be_pretty(options)).to_s
end