Class: Autoproj::CLI::Envsh
- Inherits:
-
InspectionTool
- Object
- Base
- InspectionTool
- Autoproj::CLI::Envsh
- Defined in:
- lib/autoproj/cli/envsh.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from InspectionTool
#finalize_setup, #initialize_and_load
Methods inherited from Base
#export_env_sh, #initialize, #normalize_command_line_package_selection, #notify_env_sh_updated, #resolve_selection, #resolve_user_selection, validate_options, #validate_user_selection
Methods included from Ops::Tools
#common_options, #create_autobuild_package, #load_autoprojrc, #load_main_initrb
Constructor Details
This class inherits a constructor from Autoproj::CLI::Base
Instance Method Details
#run(**options) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/autoproj/cli/envsh.rb', line 10 def run(**) initialize_and_load shell_helpers = .fetch(:shell_helpers, ws.config.shell_helpers?) finalize_setup(Array.new) export_env_sh(shell_helpers: shell_helpers) end |
#validate_options(_unused, options = Hash.new) ⇒ Object
5 6 7 8 |
# File 'lib/autoproj/cli/envsh.rb', line 5 def (_unused, = Hash.new) _, = super(_unused, ) [] end |