Sha256: 977d168787668d232bcc6a941521f4798226a53214520ca49f226d48d2b2b7e7

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 Bytes

Contents

class GraphCommand < Clamp::Command
  option ['--project'], 'PROJECT', 'Path to the xcodeproj'
  option ['--scheme'], 'SCHEME', 'The scheme that the project was built in'
  option ['--workspace'], 'WORKSPACE', 'Path to the workspace'
  option ["--include"], "INCLUDE", "Regexp of classes that will be shown on graph"
  option ["--dot", "-d"], :flag, "Export dot file"

  def execute
    results = Depcheck.run(project, workspace, scheme)
    output = Depcheck::GraphOutput.new
    output.post(results, include, dot?)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
depcheck-0.5.0 lib/depcheck/command/graph_command.rb