Sha256: 2cd9e70b22c04af20d1787a2da59e3299df43aec023bd368ff0be3a548b70791

Contents?: true

Size: 927 Bytes

Versions: 23

Compression:

Stored size: 927 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"],
            ["--devpod_only", "Only include development pod"],
            ["--max_deps", "Only include pod with number of dependencies <= max_deps"]
          ]
        end

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

        def run
          @visualizer.run
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 4 rubygems

Version Path
cocoapods-binary-cache-next-0.1.16 lib/command/visualize.rb
cocoapods-binary-cache-next-0.1.15 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.19 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.18 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.17 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.16 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.15 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.14 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.13 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.12 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.11 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.10 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.9 lib/command/visualize.rb
cocoapods-binary-ht-1.0.0 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.8 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.7 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.6 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.5 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.4 lib/command/visualize.rb
cocoapods-binary-artifactory-cache-0.0.3 lib/command/visualize.rb