Class: Intent::Projects::Manager

Inherits:
Object
  • Object
show all
Defined in:
lib/intent/projects/manager.rb

Class Method Summary collapse

Class Method Details



15
16
17
# File 'lib/intent/projects/manager.rb', line 15

def self.print_help(output)
  output.puts "usage: review"
end

.run(args, output = STDOUT) ⇒ Object



4
5
6
7
8
9
10
11
12
13
# File 'lib/intent/projects/manager.rb', line 4

def self.run(args, output=STDOUT)
  if args.empty?
    print_help(output)
  else
    case args.first.to_sym
    when :status
      Status.run(File.expand_path('~/Projects').to_s)
    end
  end
end