Method: Kybus::CLI::Bot::ProjectGenerator#run_commands

Defined in:
lib/kybus/cli/bot/project_generator.rb

#run_commandsObject



29
30
31
32
33
34
35
36
37
# File 'lib/kybus/cli/bot/project_generator.rb', line 29

def run_commands
  commands = "cd #{@name} && " \
             'git init . && ' \
             'bundle install --path vendor/bundle && ' \
             'git add . && ' \
             'git commit -m "Initial Commit"'

  puts `#{commands}`
end