Class: FluentCommandBuilder::TeamFoundationTEE::V101::Get
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Get
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 = nil) ⇒ Get
Returns a new instance of Get.
777
778
779
780
781
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 777
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
787
788
789
790
791
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 787
def all
@b.append ' -all'
yield @b if block_given?
self
end
|
#force {|@b| ... } ⇒ Object
797
798
799
800
801
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 797
def force
@b.append ' -force'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
822
823
824
825
826
827
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 822
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
817
818
819
820
821
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 817
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#overwrite {|@b| ... } ⇒ Object
792
793
794
795
796
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 792
def overwrite
@b.append ' -overwrite'
yield @b if block_given?
self
end
|
#preview {|@b| ... } ⇒ Object
802
803
804
805
806
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 802
def preview
@b.append ' -preview'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
807
808
809
810
811
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 807
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#remap {|@b| ... } ⇒ Object
812
813
814
815
816
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 812
def remap
@b.append ' -remap'
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
782
783
784
785
786
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 782
def version(version_spec)
@b.append " -version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|