Sha256: a038b3ddb2f97596b6d8b955060d1bad89e3accc71ba36bd767052a443cfa4c1

Contents?: true

Size: 354 Bytes

Versions: 6

Compression:

Stored size: 354 Bytes

Contents

module Rebuild::CLI
  class RbldSearchCommand < Command
    def initialize
      @usage = "[OPTIONS] [NAME[:TAG]|PREFIX]"
      @description = "Search remote registry for published environments"
    end

    def run(parameters)
      env = Environment.new(parameters[0], allow_empty: true)
      print_names( engine_api.search( env ) )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rbld-1.3.8 cli/lib/commands/rbld_search.rb
rbld-1.3.7 cli/lib/commands/rbld_search.rb
rbld-1.3.6 cli/lib/commands/rbld_search.rb
rbld-1.3.5 cli/lib/commands/rbld_search.rb
rbld-1.3.4 cli/lib/commands/rbld_search.rb
rbld-1.3.3 cli/lib/commands/rbld_search.rb