Class: FluentCommandBuilder::TeamFoundation::V100::Unlabel
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::Unlabel
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_100.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, label_name, item_spec) ⇒ Unlabel
1753
1754
1755
1756
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1753
def initialize(underlying_builder, label_name, item_spec)
super underlying_builder
@b.append " unlabel #{@b.format label_name} #{@b.format item_spec}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1757
1758
1759
1760
1761
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1757
def collection(team_project_collection_url)
@b.append " /collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
1767
1768
1769
1770
1771
1772
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1767
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
1762
1763
1764
1765
1766
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1762
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|