Sha256: 78e240b6a0835fa374bfe6b1b2c1bfbe44ff3270965984cac4998bdbe4b44bff

Contents?: true

Size: 677 Bytes

Versions: 12

Compression:

Stored size: 677 Bytes

Contents

require_relative "executor/visualizer"

module Pod
  class Command
    class Binary < Command
      class Viz < Binary
        self.arguments = [CLAide::Argument.new("OUTPUT-DIR", false)]
        def self.options
          [
            ["--open", "Open the graph upon completion"]
          ]
        end

        def initialize(argv)
          super
          @visualizer = PodPrebuild::Visualizer.new(
            config: prebuild_config,
            lockfile: config.lockfile,
            output_dir: argv.shift_argument || ".",
            open: argv.flag?("open")
          )
        end

        def run
          @visualizer.run
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cocoapods-binary-cache-0.1.13 lib/command/visualize.rb
cocoapods-binary-cache-0.1.12 lib/command/visualize.rb
cocoapods-binary-cache-0.1.11 lib/command/visualize.rb
cocoapods-binary-cache-0.1.10 lib/command/visualize.rb
cocoapods-binary-cache-0.1.9 lib/command/visualize.rb
cocoapods-binary-cache-0.1.8 lib/command/visualize.rb
cocoapods-binary-cache-0.1.7 lib/command/visualize.rb
cocoapods-binary-cache-0.1.6 lib/command/visualize.rb
cocoapods-binary-cache-0.1.5 lib/command/visualize.rb
cocoapods-binary-cache-0.1.3 lib/command/visualize.rb
cocoapods-binary-cache-0.1.2 lib/command/visualize.rb
cocoapods-binary-cache-0.1.1 lib/command/visualize.rb