Sha256: 5b1e4e6092a1d5508dc9df01d522a69d8f46ba320bc526cc8a5a8cdf936dde42

Contents?: true

Size: 696 Bytes

Versions: 6

Compression:

Stored size: 696 Bytes

Contents

module Autoproj
    module CLI
        class CLIException < RuntimeError
            def fatal?
                true
            end
        end

        class CLIInvalidArguments < CLIException
        end

        class CLIAmbiguousArguments < CLIException
        end

        class CLIInvalidSelection < CLIException
        end

        def self.load_plugins
            finder_name =
                if Gem.respond_to?(:find_latest_files)
                    :find_latest_files
                else
                    :find_files
                end

            Gem.send(finder_name, "autoproj-*", true).each do |path|
                require path
            end
        end
    end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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