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.
1645
1646
1647
1648
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1645
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
1649
1650
1651
1652
1653
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1649
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
1659
1660
1661
1662
1663
1664
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1659
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
1654
1655
1656
1657
1658
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1654
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|