Class: Bork::CLI

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/bork/cli.rb

Instance Method Summary collapse

Instance Method Details

#bootstrapObject



17
18
19
20
# File 'lib/bork/cli.rb', line 17

def bootstrap
  load_config
  Bork.bootstrap!
end

#initObject



11
12
13
14
# File 'lib/bork/cli.rb', line 11

def init
  empty_directory "config"
  template "config/bork.rb.erb", "config/bork.rb"
end

#setupObject



23
24
25
26
# File 'lib/bork/cli.rb', line 23

def setup
  load_config
  Bork.setup!
end