unhappychoice/circleci-cli

View on GitHub
lib/circleci/cli/command/projects_command.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module CircleCI
  module CLI
    module Command
      class ProjectsCommand < BaseCommand
        class << self
          def run(options)
            setup_token
            say Printer::ProjectPrinter.new(Response::Project.all, pretty: options.pretty).to_s
          end
        end
      end
    end
  end
end