Class: FluentCommandBuilder::AppCfgPython::V16::Configure

Inherits:
CommandBase
  • Object
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, backend) ⇒ Configure

Returns a new instance of Configure.



107
108
109
110
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 107

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

Instance Method Details

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

Yields:

  • (@b)


181
182
183
184
185
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 181

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

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

Yields:

  • (@b)


166
167
168
169
170
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 166

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

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

Yields:

  • (@b)


141
142
143
144
145
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 141

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

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

Yields:

  • (@b)


111
112
113
114
115
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 111

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

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

Yields:

  • (@b)


146
147
148
149
150
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 146

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

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

Yields:

  • (@b)


136
137
138
139
140
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 136

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

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

Yields:

  • (@b)


151
152
153
154
155
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 151

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

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

Yields:

  • (@b)


196
197
198
199
200
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 196

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

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

Yields:

  • (@b)


126
127
128
129
130
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 126

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

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

Yields:

  • (@b)


186
187
188
189
190
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 186

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

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

Yields:

  • (@b)


191
192
193
194
195
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 191

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)


161
162
163
164
165
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 161

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

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

Yields:

  • (@b)


116
117
118
119
120
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 116

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

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

Yields:

  • (@b)


176
177
178
179
180
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 176

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

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

Yields:

  • (@b)


131
132
133
134
135
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 131

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

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

Yields:

  • (@b)


156
157
158
159
160
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 156

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

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

Yields:

  • (@b)


121
122
123
124
125
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 121

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

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

Yields:

  • (@b)


171
172
173
174
175
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 171

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