Sha256: e9c9413cae6bf115b64402d36ab51cca505e8f641f506b364a1ae91add35779b

Contents?: true

Size: 562 Bytes

Versions: 6

Compression:

Stored size: 562 Bytes

Contents

require "autoproj/cli/inspection_tool"
module Autoproj
    module CLI
        class Envsh < InspectionTool
            def validate_options(_unused, options = Hash.new)
                _, options = super(_unused, options)
                [options]
            end

            def run(**options)
                initialize_and_load
                shell_helpers = options.fetch(:shell_helpers, ws.config.shell_helpers?)
                finalize_setup(Array.new)
                export_env_sh(shell_helpers: shell_helpers)
            end
        end
    end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
autoproj-2.17.0 lib/autoproj/cli/envsh.rb
autoproj-2.16.0 lib/autoproj/cli/envsh.rb
autoproj-2.15.3 lib/autoproj/cli/envsh.rb
autoproj-2.15.2 lib/autoproj/cli/envsh.rb
autoproj-2.15.1 lib/autoproj/cli/envsh.rb
autoproj-2.15.0 lib/autoproj/cli/envsh.rb