Class: Gerrit::Command::Projects
- Defined in:
- lib/gerrit/command/projects.rb
Overview
Displays a list of all projects the user has permissions to see.
This is a light wrapper around ‘ls-projects` since it will just append any additional arguments to the underlying command.
Instance Method Summary collapse
Methods inherited from Base
#execute_command, from_arguments, #initialize, #run
Methods included from Utils
camel_case, commit_hash?, human_time, map_in_parallel, snake_case
Constructor Details
This class inherits a constructor from Gerrit::Command::Base
Instance Method Details
#execute ⇒ Object
7 8 9 10 |
# File 'lib/gerrit/command/projects.rb', line 7 def execute ui.print client.execute(%w[ls-projects] + arguments[1..-1]), newline: false end |