Class: FluentCommandBuilder::AppCfgPython::V17::UpdateDos

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/appcfg_python_17.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder, directory) ⇒ UpdateDos

Returns a new instance of UpdateDos.



2036
2037
2038
2039
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2036

def initialize(underlying_builder, directory)
  super underlying_builder
  @b.append " update_dos #{@b.format directory}"
end

Instance Method Details

#allow_any_runtime {|@b| ... } ⇒ Object

Yields:

  • (@b)


2110
2111
2112
2113
2114
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2110

def allow_any_runtime
  @b.append ' --allow_any_runtime'
  yield @b if block_given?
  self
end

#application(app_id) {|@b| ... } ⇒ Object

Yields:

  • (@b)


2095
2096
2097
2098
2099
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2095

def application(app_id)
  @b.append " --application=#{@b.format app_id}"
  yield @b if block_given?
  self
end

#email(email) {|@b| ... } ⇒ Object

Yields:

  • (@b)


2070
2071
2072
2073
2074
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2070

def email(email)
  @b.append " --email=#{@b.format email}"
  yield @b if block_given?
  self
end

#help {|@b| ... } ⇒ Object

Yields:

  • (@b)


2040
2041
2042
2043
2044
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2040

def help
  @b.append ' --help'
  yield @b if block_given?
  self
end

#host(host) {|@b| ... } ⇒ Object

Yields:

  • (@b)


2075
2076
2077
2078
2079
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2075

def host(host)
  @b.append " --host=#{@b.format host}"
  yield @b if block_given?
  self
end

#insecure {|@b| ... } ⇒ Object

Yields:

  • (@b)


2065
2066
2067
2068
2069
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2065

def insecure
  @b.append ' --insecure'
  yield @b if block_given?
  self
end

#no_cookies {|@b| ... } ⇒ Object

Yields:

  • (@b)


2080
2081
2082
2083
2084
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2080

def no_cookies
  @b.append ' --no_cookies'
  yield @b if block_given?
  self
end

#noauth_local_webserver {|@b| ... } ⇒ Object

Yields:

  • (@b)


2125
2126
2127
2128
2129
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2125

def noauth_local_webserver
  @b.append ' --noauth_local_webserver'
  yield @b if block_given?
  self
end

#noisy {|@b| ... } ⇒ Object

Yields:

  • (@b)


2055
2056
2057
2058
2059
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2055

def noisy
  @b.append ' --noisy'
  yield @b if block_given?
  self
end

#oauth2 {|@b| ... } ⇒ Object

Yields:

  • (@b)


2115
2116
2117
2118
2119
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2115

def oauth2
  @b.append ' --oauth2'
  yield @b if block_given?
  self
end

#oauth2_refresh_token(oauth2_refresh_token) {|@b| ... } ⇒ Object

Yields:

  • (@b)


2120
2121
2122
2123
2124
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2120

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

Yields:

  • (@b)


2090
2091
2092
2093
2094
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2090

def passin
  @b.append ' --passin'
  yield @b if block_given?
  self
end

#quiet {|@b| ... } ⇒ Object

Yields:

  • (@b)


2045
2046
2047
2048
2049
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2045

def quiet
  @b.append ' --quiet'
  yield @b if block_given?
  self
end

#runtime(runtime) {|@b| ... } ⇒ Object

Yields:

  • (@b)


2105
2106
2107
2108
2109
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2105

def runtime(runtime)
  @b.append " --runtime=#{@b.format runtime}"
  yield @b if block_given?
  self
end

#server(server) {|@b| ... } ⇒ Object

Yields:

  • (@b)


2060
2061
2062
2063
2064
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2060

def server(server)
  @b.append " --server=#{@b.format server}"
  yield @b if block_given?
  self
end

#skip_sdk_update_check {|@b| ... } ⇒ Object

Yields:

  • (@b)


2085
2086
2087
2088
2089
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2085

def skip_sdk_update_check
  @b.append ' --skip_sdk_update_check'
  yield @b if block_given?
  self
end

#verbose {|@b| ... } ⇒ Object

Yields:

  • (@b)


2050
2051
2052
2053
2054
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2050

def verbose
  @b.append ' --verbose'
  yield @b if block_given?
  self
end

#version(version) {|@b| ... } ⇒ Object

Yields:

  • (@b)


2100
2101
2102
2103
2104
# File 'lib/fluent_command_builder/command_builders/appcfg_python_17.rb', line 2100

def version(version)
  @b.append " --version=#{@b.format version}"
  yield @b if block_given?
  self
end