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.
1742
1743
1744
1745
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1742
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
1816
1817
1818
1819
1820
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1816
def allow_any_runtime
@b.append ' --allow_any_runtime'
yield @b if block_given?
self
end
|
#application(app_id) {|@b| ... } ⇒ Object
1801
1802
1803
1804
1805
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1801
def application(app_id)
@b.append " --application=#{@b.format app_id}"
yield @b if block_given?
self
end
|
#email(email) {|@b| ... } ⇒ Object
1776
1777
1778
1779
1780
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1776
def email(email)
@b.append " --email=#{@b.format email}"
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
1746
1747
1748
1749
1750
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1746
def help
@b.append ' --help'
yield @b if block_given?
self
end
|
#host(host) {|@b| ... } ⇒ Object
1781
1782
1783
1784
1785
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1781
def host(host)
@b.append " --host=#{@b.format host}"
yield @b if block_given?
self
end
|
#insecure {|@b| ... } ⇒ Object
1771
1772
1773
1774
1775
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1771
def insecure
@b.append ' --insecure'
yield @b if block_given?
self
end
|
#no_cookies {|@b| ... } ⇒ Object
1786
1787
1788
1789
1790
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1786
def no_cookies
@b.append ' --no_cookies'
yield @b if block_given?
self
end
|
#noauth_local_webserver {|@b| ... } ⇒ Object
1831
1832
1833
1834
1835
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1831
def noauth_local_webserver
@b.append ' --noauth_local_webserver'
yield @b if block_given?
self
end
|
#noisy {|@b| ... } ⇒ Object
1761
1762
1763
1764
1765
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1761
def noisy
@b.append ' --noisy'
yield @b if block_given?
self
end
|
#oauth2 {|@b| ... } ⇒ Object
1821
1822
1823
1824
1825
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1821
def oauth2
@b.append ' --oauth2'
yield @b if block_given?
self
end
|
#oauth2_refresh_token(oauth2_refresh_token) {|@b| ... } ⇒ Object
1826
1827
1828
1829
1830
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1826
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
1796
1797
1798
1799
1800
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1796
def passin
@b.append ' --passin'
yield @b if block_given?
self
end
|
#quiet {|@b| ... } ⇒ Object
1751
1752
1753
1754
1755
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1751
def quiet
@b.append ' --quiet'
yield @b if block_given?
self
end
|
#runtime(runtime) {|@b| ... } ⇒ Object
1811
1812
1813
1814
1815
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1811
def runtime(runtime)
@b.append " --runtime=#{@b.format runtime}"
yield @b if block_given?
self
end
|
#server(server) {|@b| ... } ⇒ Object
1766
1767
1768
1769
1770
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1766
def server(server)
@b.append " --server=#{@b.format server}"
yield @b if block_given?
self
end
|
#skip_sdk_update_check {|@b| ... } ⇒ Object
1791
1792
1793
1794
1795
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1791
def skip_sdk_update_check
@b.append ' --skip_sdk_update_check'
yield @b if block_given?
self
end
|
#verbose {|@b| ... } ⇒ Object
1756
1757
1758
1759
1760
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1756
def verbose
@b.append ' --verbose'
yield @b if block_given?
self
end
|
#version(version) {|@b| ... } ⇒ Object
1806
1807
1808
1809
1810
|
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 1806
def version(version)
@b.append " --version=#{@b.format version}"
yield @b if block_given?
self
end
|