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