Class: Bashly::Commands::Preview
- Inherits:
-
Base
- Object
- MisterBin::Command
- Base
- Bashly::Commands::Preview
show all
- Defined in:
- lib/bashly/commands/preview.rb
Instance Method Summary
collapse
Methods inherited from Base
#config, #config_validator, #validate_config, #with_valid_config
#asset, #asset_content
Instance Method Details
#run ⇒ Object
9
10
11
12
13
14
15
|
# File 'lib/bashly/commands/preview.rb', line 9
def run
with_valid_config do
command = Script::Command.new config
script = Script::Wrapper.new command
puts script.code
end
end
|