Class: FluentCommandBuilder::TeamFoundationTEE::V101::Unlabel
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Unlabel
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, label_name, item_spec) ⇒ Unlabel
Returns a new instance of Unlabel.
1644
1645
1646
1647
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1644
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
1648
1649
1650
1651
1652
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1648
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
1658
1659
1660
1661
1662
1663
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1658
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
1653
1654
1655
1656
1657
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1653
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|