class Josef::Cli

Public Instance Methods

apply(path) click to toggle source
# File lib/josef/cli.rb, line 36
def apply(path)
  local(path)
  remote_apply(local)
end
console() click to toggle source
# File lib/josef/cli.rb, line 42
def console
  binding.irb
end
diff(path) click to toggle source
# File lib/josef/cli.rb, line 30
def diff(path)
  local(path)
  remote_diff(remote, local, "dry run")
end
dump() click to toggle source
# File lib/josef/cli.rb, line 24
def dump
  remote_dump
end
invoke_command(command, *args) click to toggle source
Calls superclass method
# File lib/josef/cli.rb, line 13
def invoke_command(command, *args)
  prepare
  super
end
prepare() click to toggle source
# File lib/josef/cli.rb, line 18
def prepare
  exculued_groups(options[:exclude])
end