Class: Lab::Subcommands::Repository

Inherits:
Thor
  • Object
show all
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

#listObject



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