Class: FluentCommandBuilder::TeamFoundationTEE::V100::Dir
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Dir
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, item_spec) ⇒ Dir
Returns a new instance of Dir.
698
699
700
701
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 698
def initialize(underlying_builder, item_spec)
super underlying_builder
@b.append " dir #{@b.format item_spec}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
728
729
730
731
732
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 728
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#deleted {|@b| ... } ⇒ Object
717
718
719
720
721
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 717
def deleted
@b.append ' -deleted'
yield @b if block_given?
self
end
|
#folders {|@b| ... } ⇒ Object
712
713
714
715
716
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 712
def folders
@b.append ' -folders'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
722
723
724
725
726
727
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 722
def login(username, password=nil)
@b.append " -login:#{@b.format username}"
@b.append ",#{@b.format_password password}" unless password.nil?
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
707
708
709
710
711
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 707
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
702
703
704
705
706
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 702
def version(version_spec)
@b.append " -version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|