installer: refactor install

This commit is contained in:
rkiel
2017-11-09 09:43:22 -05:00
parent 6c83679f45
commit 8ab709a43e
4 changed files with 104 additions and 32 deletions

10
install/bin/setup Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env ruby
require_relative '../lib/setup/commander'
commander = Setup::Commander.new(ARGV)
if commander.valid?
commander.execute
else
commander.help
end