Commit c5f8cef0 authored by Laurent Briais's avatar Laurent Briais

First draft of solution to fix the subcommands options issues when outside of...

First draft of solution to fix the subcommands options issues when outside of the project (therefore specified by --project-path)
parent 60bb0d46
Pipeline #97815591 failed with stage
in 58 seconds
......@@ -63,6 +63,7 @@ module PowerStencil
end
def setup_climatic(cmd_line_args)
::UltraCommandLine.slop_options[:suppress_errors] = true
mngr = Climatic::ConfigLayers::CommandLineLayer.build_command_line_manager base_commands_definition_file
Climatic.bootstrap cmd_line_args: cmd_line_args, command_manager: mngr
mngr.commands.each do |command|
......
......@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_dependency 'climatic', '~> 0.2.35'
spec.add_dependency 'climatic', '~> 0.2.37'
spec.add_dependency 'dir_glob_ignore', '~> 0.3'
spec.add_dependency 'universe_compiler', '~> 0.5.6'
spec.add_dependency 'pry'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment