Class: Sem::CLI::Projects

Inherits:
Dracula
  • Object
show all
Defined in:
lib/sem/cli/projects.rb

Instance Method Summary collapse

Instance Method Details

#info(project_path) ⇒ Object



11
12
13
14
15
# File 'lib/sem/cli/projects.rb', line 11

def info(project_path)
  project = Sem::API::Projects.info(project_path)

  Sem::Views::Projects.info(project)
end

#listObject



4
5
6
7
8
# File 'lib/sem/cli/projects.rb', line 4

def list
  projects = Sem::API::Projects.list

  Sem::Views::Projects.list(projects)
end