Class: Lab::Subcommands::Repository
- Inherits:
-
Thor
- Object
- Thor
- Lab::Subcommands::Repository
- Defined in:
- lib/lab/subcommands/repository.rb
Instance Method Summary collapse
Instance Method Details
#create(name) ⇒ Object
15 16 17 |
# File 'lib/lab/subcommands/repository.rb', line 15 def create name Gitlab.create_project name end |
#list ⇒ Object
8 9 10 11 12 |
# File 'lib/lab/subcommands/repository.rb', line 8 def list Gitlab.projects.each do |project| puts project.name end end |