Class: Completely::Commands::Generate
- Defined in:
- lib/completely/commands/generate.rb
Instance Method Summary collapse
Methods inherited from Base
environment_config_path, environment_debug, option_function, param_config_path
Instance Method Details
#run ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/completely/commands/generate.rb', line 21 def run wrap = args['--wrap'] output = wrap ? wrapper_function(wrap) : script File.write output_path, output say "Saved !txtpur!#{output_path}" syntax_warning unless completions.valid? end |