class Bashly::Commands::Preview

Public Instance Methods

run() click to toggle source
# File lib/bashly/commands/preview.rb, line 11
def run
  config = Config.new "#{Settings.source_dir}/bashly.yml"
  command = Models::Command.new(config)
  script = Models::Script.new command
  puts script.code
end