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
801
802
803
804
805
806
807
|
# File 'lib/basketcase.rb', line 801
def execute
args = ''
args += ' -graphical' if @graphical
cleartool("lsvtree #{args} #{effective_targets}") do |line|
puts line
end
end
|
#help ⇒ Object
793
794
795
796
797
798
799
|
# File 'lib/basketcase.rb', line 793
def help
<<EOF
Display a version-tree of specified elements.
-g Graphical display.
EOF
end
|
#synopsis ⇒ Object
789
790
791
|
# File 'lib/basketcase.rb', line 789
def synopsis
"<element>"
end
|