Class: Basketcase::VersionTreeCommand
Instance Attribute Summary
Attributes inherited from Command
#comment, #listener, #targets
Instance Method Summary
collapse
Methods inherited from Command
#accept_args, #effective_targets, #initialize, #option_comment, #option_graphical, #option_recurse, #report, #specified_targets
Methods included from Utils
#mkpath
Instance Method Details
#execute ⇒ Object
523
524
525
526
527
528
529
|
# File 'lib/basketcase.rb', line 523
def execute
args = ''
args += ' -graphical' if @graphical
cleartool("lsvtree #{args} #{effective_targets}") do |line|
puts line
end
end
|
#help ⇒ Object
515
516
517
518
519
520
521
|
# File 'lib/basketcase.rb', line 515
def help
<<EOF
Display a version-tree of specified elements.
-g Graphical display.
EOF
end
|
#synopsis ⇒ Object
511
512
513
|
# File 'lib/basketcase.rb', line 511
def synopsis
"<element>"
end
|