Class: FluentCommandBuilder::TeamFoundation::V100::Get
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::Get
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, item_spec = nil) ⇒ Get
Returns a new instance of Get.
833
834
835
836
837
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 833
def initialize(underlying_builder, item_spec=nil)
super underlying_builder
@b.append ' get'
@b.append " #{@b.format item_spec}" unless item_spec.nil?
end
|
Instance Method Details
#all {|@b| ... } ⇒ Object
843
844
845
846
847
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 843
def all
@b.append ' /all'
yield @b if block_given?
self
end
|
#force {|@b| ... } ⇒ Object
853
854
855
856
857
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 853
def force
@b.append ' /force'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
878
879
880
881
882
883
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 878
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
|
#no_prompt {|@b| ... } ⇒ Object
873
874
875
876
877
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 873
def no_prompt
@b.append ' /noPrompt'
yield @b if block_given?
self
end
|
#overwrite {|@b| ... } ⇒ Object
848
849
850
851
852
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 848
def overwrite
@b.append ' /overwrite'
yield @b if block_given?
self
end
|
#preview {|@b| ... } ⇒ Object
858
859
860
861
862
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 858
def preview
@b.append ' /preview'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
863
864
865
866
867
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 863
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#remap {|@b| ... } ⇒ Object
868
869
870
871
872
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 868
def remap
@b.append ' /remap'
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
838
839
840
841
842
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 838
def version(version_spec)
@b.append " /version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|