Class: FluentCommandBuilder::AppCfgPython::V16::SetDefaultVersion
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::AppCfgPython::V16::SetDefaultVersion
show all
- Defined in:
- lib/fluent_command_builder/command_builders/appcfg_python_16.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, directory) ⇒ SetDefaultVersion
Returns a new instance of SetDefaultVersion.
1743
1744
1745
1746
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1743
def initialize(underlying_builder, directory)
super underlying_builder
@b.append " set_default_version #{@b.format directory}"
end
|
Instance Method Details
#allow_any_runtime {|@b| ... } ⇒ Object
1817
1818
1819
1820
1821
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1817
def allow_any_runtime
@b.append ' --allow_any_runtime'
yield @b if block_given?
self
end
|
#application(app_id) {|@b| ... } ⇒ Object
1802
1803
1804
1805
1806
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1802
def application(app_id)
@b.append " --application=#{@b.format app_id}"
yield @b if block_given?
self
end
|
#email(email) {|@b| ... } ⇒ Object
1777
1778
1779
1780
1781
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1777
def email(email)
@b.append " --email=#{@b.format email}"
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
1747
1748
1749
1750
1751
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1747
def help
@b.append ' --help'
yield @b if block_given?
self
end
|
#host(host) {|@b| ... } ⇒ Object
1782
1783
1784
1785
1786
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1782
def host(host)
@b.append " --host=#{@b.format host}"
yield @b if block_given?
self
end
|
#insecure {|@b| ... } ⇒ Object
1772
1773
1774
1775
1776
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1772
def insecure
@b.append ' --insecure'
yield @b if block_given?
self
end
|
#no_cookies {|@b| ... } ⇒ Object
1787
1788
1789
1790
1791
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1787
def no_cookies
@b.append ' --no_cookies'
yield @b if block_given?
self
end
|
#noauth_local_webserver {|@b| ... } ⇒ Object
1832
1833
1834
1835
1836
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1832
def noauth_local_webserver
@b.append ' --noauth_local_webserver'
yield @b if block_given?
self
end
|
#noisy {|@b| ... } ⇒ Object
1762
1763
1764
1765
1766
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1762
def noisy
@b.append ' --noisy'
yield @b if block_given?
self
end
|
#oauth2 {|@b| ... } ⇒ Object
1822
1823
1824
1825
1826
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1822
def oauth2
@b.append ' --oauth2'
yield @b if block_given?
self
end
|
#oauth2_refresh_token(oauth2_refresh_token) {|@b| ... } ⇒ Object
1827
1828
1829
1830
1831
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1827
def oauth2_refresh_token(oauth2_refresh_token)
@b.append " --oauth2_refresh_token=#{@b.format oauth2_refresh_token}"
yield @b if block_given?
self
end
|
#passin {|@b| ... } ⇒ Object
1797
1798
1799
1800
1801
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1797
def passin
@b.append ' --passin'
yield @b if block_given?
self
end
|
#quiet {|@b| ... } ⇒ Object
1752
1753
1754
1755
1756
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1752
def quiet
@b.append ' --quiet'
yield @b if block_given?
self
end
|
#runtime(runtime) {|@b| ... } ⇒ Object
1812
1813
1814
1815
1816
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1812
def runtime(runtime)
@b.append " --runtime=#{@b.format runtime}"
yield @b if block_given?
self
end
|
#server(server) {|@b| ... } ⇒ Object
1767
1768
1769
1770
1771
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1767
def server(server)
@b.append " --server=#{@b.format server}"
yield @b if block_given?
self
end
|
#skip_sdk_update_check {|@b| ... } ⇒ Object
1792
1793
1794
1795
1796
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1792
def skip_sdk_update_check
@b.append ' --skip_sdk_update_check'
yield @b if block_given?
self
end
|
#verbose {|@b| ... } ⇒ Object
1757
1758
1759
1760
1761
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1757
def verbose
@b.append ' --verbose'
yield @b if block_given?
self
end
|
#version(version) {|@b| ... } ⇒ Object
1807
1808
1809
1810
1811
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1807
def version(version)
@b.append " --version=#{@b.format version}"
yield @b if block_given?
self
end
|