Class: Pod::Command::Bin::OSS::List

Inherits:
Pod::Command::Bin::OSS show all
Defined in:
lib/cocoapods-lhj-bin/command/bin/oss/list.rb

Instance Method Summary collapse

Methods inherited from Pod::Command::Bin

#initialize, #validate!

Methods included from CBin::SpecFilesHelper

#binary_spec, #binary_spec_files, #binary_template_spec, #binary_template_spec_file, #binary_template_spec_files, #clear_binary_spec_file_if_needed, #code_spec, #code_spec_files, #create_binary_spec_file, #find_spec_file, #spec_files

Methods included from CBin::SourcesHelper

#binary_source, #code_source, #sources_manager, #sources_option, #valid_sources

Constructor Details

This class inherits a constructor from Pod::Command::Bin

Instance Method Details

#runObject



11
12
13
14
15
16
17
# File 'lib/cocoapods-lhj-bin/command/bin/oss/list.rb', line 11

def run
  objects = CBin::OSS::Helper.instance.list
  objects.each do |o|
    path = "#{CBin::OSS::Helper.instance.url_path}/#{o.key}"
    UI.puts path.green
  end
end