Class: FluentCommandBuilder::TeamFoundationTEE::V101::Dir
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Dir
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_tee_101.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.
729
730
731
732
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 729
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
759
760
761
762
763
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 759
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
748
749
750
751
752
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 748
def deleted
@b.append ' -deleted'
yield @b if block_given?
self
end
|
#folders {|@b| ... } ⇒ Object
743
744
745
746
747
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 743
def folders
@b.append ' -folders'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
753
754
755
756
757
758
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 753
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
738
739
740
741
742
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 738
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
733
734
735
736
737
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 733
def version(version_spec)
@b.append " -version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|