Module: Really

Defined in:
lib/really.rb,
lib/really/cli.rb,
lib/really/role.rb,
lib/really/task.rb,
lib/really/logger.rb,
lib/really/script.rb,
lib/really/command.rb,
lib/really/version.rb,
lib/really/commands.rb,
lib/really/drivers/ssh.rb,
lib/really/drivers/local.rb,
lib/really/dependency_graph.rb,
lib/really/drivers/driver_base.rb,
lib/really/file_transfer_command.rb,
lib/really/commands/basic_commands.rb,
lib/really/helpers/rendering_helper.rb,
lib/really/commands/package_management.rb,
lib/really/commands/rendering_commands.rb,
lib/really/commands/text_file_commands.rb,
lib/really/commands/file_transfer_commands.rb

Defined Under Namespace

Modules: Commands, Drivers, Helpers Classes: CLI, Command, DependencyGraph, FileTransferCommand, Logger, Role, Script, Task

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.provision(options = {}) ⇒ Object



13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/really.rb', line 13

def provision(options = {})
  options = options.dup
  message = "Invoked with options: #{options}"

  logger.verbose = options.delete :verbose
  logger.quiet = options.delete :quiet

  logger.debug message

  script = Script.new options.delete(:config_file), options
  script.execute
end

.start_cli(args) ⇒ Object



9
10
11
# File 'lib/really.rb', line 9

def start_cli(args)
  CLI.start args
end