Class: Bashly::Commands::Preview

Inherits:
Base
  • Object
show all
Defined in:
lib/bashly/commands/preview.rb

Instance Method Summary collapse

Methods included from AssetHelper

#asset

Instance Method Details

#runObject



11
12
13
14
15
# File 'lib/bashly/commands/preview.rb', line 11

def run
  config = Config.new "#{Settings.source_dir}/bashly.yml"
  command = Models::Command.new(config)
  puts command.render 'master_script'
end