snapctl 0.38.3__tar.gz → 0.39.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of snapctl might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: snapctl
3
- Version: 0.38.3
3
+ Version: 0.39.0
4
4
  Summary: Snapser CLI Tool
5
5
  Author: Ajinkya Apte
6
6
  Author-email: aj@snapser.com
@@ -220,9 +220,11 @@ snapctl byosnap build --help
220
220
  # $byosnap_sid = Snap ID for your snap
221
221
  # $image_tag = An image tag for your snap
222
222
  # $code_root_path = Local code path where your Dockerfile is present
223
+ # $resources_path = Optional path to the resources directory in your Snap. This ensures, you are not forced to put the Dockerfile, swagger.json and README.md in the root directory of your Snap.
223
224
  # Example:
224
225
  # snapctl byosnap build byosnap-jinks-flask --tag my-first-image --path /Users/DevName/Development/SnapserEngine/jinks_flask
225
226
  snapctl byosnap build $byosnap_sid --tag $image_tag --path $code_root_path
227
+ snapctl byosnap build $byosnap_sid --tag $image_tag --path $code_root_path --resources-path $resources_path
226
228
  ```
227
229
 
228
230
  #### 4. byosnap push
@@ -252,10 +254,10 @@ snapctl byosnap upload-docs --help
252
254
  # Publish a new image
253
255
  # $byosnap_sid = Snap ID for your snap
254
256
  # $image_tag = An image tag for your snap
255
- # $code_root_path = Local code path where your swagger.json and README.md files are present
257
+ # $resources_path = Path to your swagger.json and README.md files
256
258
  # Example:
257
- # snapctl byosnap upload-docs byosnap-jinks-flask --tag my-first-image --path /Users/DevName/Development/SnapserEngine/jinks_flask
258
- snapctl byosnap upload-docs $byosnap_sid --tag $image_tag --path $code_root_path
259
+ # snapctl byosnap upload-docs byosnap-jinks-flask --tag my-first-image --resources-path /Users/DevName/Development/SnapserEngine/jinks_flask
260
+ snapctl byosnap upload-docs $byosnap_sid --tag $image_tag --resources-path $resources_path
259
261
  ```
260
262
 
261
263
  #### 6. byosnap publish-image
@@ -275,10 +277,12 @@ snapctl byosnap publish-image --help
275
277
  # $byosnap_sid = Snap ID for your snap
276
278
  # $image_tag = An image tag for your snap
277
279
  # $code_root_path = Local code path where your Dockerfile is present
280
+ # $resources_path = Optional path to the resources directory in your Snap. This ensures, you are not forced to put the Dockerfile, swagger.json and README.md in the root directory of your Snap.
278
281
  # $skip-build = true/false. Default is false. Pass this flag as true to skip the build and head straight to tag and push. Build step needs to run and tagged using the --tag you pass to the publish-image command for this to work.
279
282
  # Example:
280
283
  # snapctl byosnap publish-image byosnap-jinks-flask --tag my-first-image --path /Users/DevName/Development/SnapserEngine/jinks_flask
281
284
  snapctl byosnap publish-image $byosnap_sid --tag $image_tag --path $code_root_path
285
+ snapctl byosnap publish-image $byosnap_sid --tag $image_tag --path $code_root_path --resources-path $resources_path
282
286
  snapctl byosnap publish-image $byosnap_sid --tag $image_tag --skip-build
283
287
  ```
284
288
 
@@ -288,7 +292,7 @@ Publish a new version for your Snap. Only after your Snap version is published,
288
292
  to use your snap in your Snapend. This command should be run after `push` or `publish-image` commands.
289
293
 
290
294
  IMPORTANT: You need to have $byosnapProfile to run this command. BYOSnap profile is a JSON configuration
291
- of your BYOSnap for the development, staging and production environments.
295
+ of your BYOSnap for the development, staging and production environments. You can generate a base version of this file using the `snapctl generate profile --category byosnap --out-path <output_path>` command.
292
296
 
293
297
  ```
294
298
  # Help for the byosnap command
@@ -365,10 +369,12 @@ snapctl byogs publish --help
365
369
  # Publish a new image
366
370
  # $image_tag = An image tag for your snap
367
371
  # $code_root_path = Local code path where your Dockerfile is present
372
+ # $resources_path = Optional path to the resources directory. This ensures, you are not forced to put the Dockerfile at the root directory of your Game Server code.
368
373
  # $skip-build = Default is false. Pass this flag as true to skip the build and head straight to tag and push. Build step needs to run and tagged using the --tag you pass to the publish-image command for this to work.
369
374
  # Example:
370
375
  # snapctl byogs publish --tag my-first-image --path /Users/DevName/Development/SnapserEngine/game_server
371
376
  snapctl byogs publish --tag $image_tag --path $code_root_path
377
+ snapctl byogs publish --tag $image_tag --path $code_root_path --resources-path $resources_path
372
378
  snapctl byogs publish --tag $image_tag --skip-build
373
379
  ```
374
380
 
@@ -201,9 +201,11 @@ snapctl byosnap build --help
201
201
  # $byosnap_sid = Snap ID for your snap
202
202
  # $image_tag = An image tag for your snap
203
203
  # $code_root_path = Local code path where your Dockerfile is present
204
+ # $resources_path = Optional path to the resources directory in your Snap. This ensures, you are not forced to put the Dockerfile, swagger.json and README.md in the root directory of your Snap.
204
205
  # Example:
205
206
  # snapctl byosnap build byosnap-jinks-flask --tag my-first-image --path /Users/DevName/Development/SnapserEngine/jinks_flask
206
207
  snapctl byosnap build $byosnap_sid --tag $image_tag --path $code_root_path
208
+ snapctl byosnap build $byosnap_sid --tag $image_tag --path $code_root_path --resources-path $resources_path
207
209
  ```
208
210
 
209
211
  #### 4. byosnap push
@@ -233,10 +235,10 @@ snapctl byosnap upload-docs --help
233
235
  # Publish a new image
234
236
  # $byosnap_sid = Snap ID for your snap
235
237
  # $image_tag = An image tag for your snap
236
- # $code_root_path = Local code path where your swagger.json and README.md files are present
238
+ # $resources_path = Path to your swagger.json and README.md files
237
239
  # Example:
238
- # snapctl byosnap upload-docs byosnap-jinks-flask --tag my-first-image --path /Users/DevName/Development/SnapserEngine/jinks_flask
239
- snapctl byosnap upload-docs $byosnap_sid --tag $image_tag --path $code_root_path
240
+ # snapctl byosnap upload-docs byosnap-jinks-flask --tag my-first-image --resources-path /Users/DevName/Development/SnapserEngine/jinks_flask
241
+ snapctl byosnap upload-docs $byosnap_sid --tag $image_tag --resources-path $resources_path
240
242
  ```
241
243
 
242
244
  #### 6. byosnap publish-image
@@ -256,10 +258,12 @@ snapctl byosnap publish-image --help
256
258
  # $byosnap_sid = Snap ID for your snap
257
259
  # $image_tag = An image tag for your snap
258
260
  # $code_root_path = Local code path where your Dockerfile is present
261
+ # $resources_path = Optional path to the resources directory in your Snap. This ensures, you are not forced to put the Dockerfile, swagger.json and README.md in the root directory of your Snap.
259
262
  # $skip-build = true/false. Default is false. Pass this flag as true to skip the build and head straight to tag and push. Build step needs to run and tagged using the --tag you pass to the publish-image command for this to work.
260
263
  # Example:
261
264
  # snapctl byosnap publish-image byosnap-jinks-flask --tag my-first-image --path /Users/DevName/Development/SnapserEngine/jinks_flask
262
265
  snapctl byosnap publish-image $byosnap_sid --tag $image_tag --path $code_root_path
266
+ snapctl byosnap publish-image $byosnap_sid --tag $image_tag --path $code_root_path --resources-path $resources_path
263
267
  snapctl byosnap publish-image $byosnap_sid --tag $image_tag --skip-build
264
268
  ```
265
269
 
@@ -269,7 +273,7 @@ Publish a new version for your Snap. Only after your Snap version is published,
269
273
  to use your snap in your Snapend. This command should be run after `push` or `publish-image` commands.
270
274
 
271
275
  IMPORTANT: You need to have $byosnapProfile to run this command. BYOSnap profile is a JSON configuration
272
- of your BYOSnap for the development, staging and production environments.
276
+ of your BYOSnap for the development, staging and production environments. You can generate a base version of this file using the `snapctl generate profile --category byosnap --out-path <output_path>` command.
273
277
 
274
278
  ```
275
279
  # Help for the byosnap command
@@ -346,10 +350,12 @@ snapctl byogs publish --help
346
350
  # Publish a new image
347
351
  # $image_tag = An image tag for your snap
348
352
  # $code_root_path = Local code path where your Dockerfile is present
353
+ # $resources_path = Optional path to the resources directory. This ensures, you are not forced to put the Dockerfile at the root directory of your Game Server code.
349
354
  # $skip-build = Default is false. Pass this flag as true to skip the build and head straight to tag and push. Build step needs to run and tagged using the --tag you pass to the publish-image command for this to work.
350
355
  # Example:
351
356
  # snapctl byogs publish --tag my-first-image --path /Users/DevName/Development/SnapserEngine/game_server
352
357
  snapctl byogs publish --tag $image_tag --path $code_root_path
358
+ snapctl byogs publish --tag $image_tag --path $code_root_path --resources-path $resources_path
353
359
  snapctl byogs publish --tag $image_tag --skip-build
354
360
  ```
355
361
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "snapctl"
3
- version = "0.38.3"
3
+ version = "0.39.0"
4
4
  description = "Snapser CLI Tool"
5
5
  authors = ["Ajinkya Apte <aj@snapser.com>"]
6
6
  readme = "README.md"
@@ -33,7 +33,8 @@ class ByoGs:
33
33
 
34
34
  def __init__(
35
35
  self, subcommand: str, base_url: str, api_key: Union[str, None],
36
- input_tag: Union[str, None], path: Union[str, None], dockerfile: str,
36
+ input_tag: Union[str, None], path: Union[str, None],
37
+ resources_path: Union[str, None], dockerfile: str,
37
38
  skip_build: bool = False
38
39
  ) -> None:
39
40
  self.subcommand: str = subcommand
@@ -50,6 +51,7 @@ class ByoGs:
50
51
  self.token) if self.token is not None else None
51
52
  self.input_tag: Union[str, None] = input_tag
52
53
  self.path: Union[str, None] = path
54
+ self.resources_path: Union[str, None] = resources_path
53
55
  self.dockerfile: str = dockerfile
54
56
  self.skip_build: bool = skip_build
55
57
  # Validate input
@@ -151,7 +153,12 @@ class ByoGs:
151
153
  if len(self.token_parts) == 4:
152
154
  build_platform = self.token_parts[3]
153
155
  # Build your snap
154
- docker_file_path = os.path.join(self.path, self.dockerfile)
156
+ if self.resources_path:
157
+ base_path = self.resources_path
158
+ else:
159
+ base_path = self.path
160
+ docker_file_path = os.path.join(base_path, self.dockerfile)
161
+
155
162
  # Warning check for architecture specific commands
156
163
  info(f'Building on system architecture {sys_platform.machine()}')
157
164
  check_response = check_dockerfile_architecture(
@@ -279,9 +286,16 @@ class ByoGs:
279
286
  snapctl_error("Missing required parameter: path",
280
287
  SNAPCTL_INPUT_ERROR)
281
288
  # Check path
282
- if not self.skip_build and not os.path.isfile(f"{self.path}/{self.dockerfile}"):
289
+ if self.resources_path:
290
+ docker_file_path = f"{self.resources_path}/{self.dockerfile}"
291
+ else:
292
+ docker_file_path = f"{self.path}/{self.dockerfile}"
293
+
294
+ if not self.skip_build and not os.path.isfile(docker_file_path):
283
295
  snapctl_error(
284
- f"Unable to find {self.dockerfile} at path {self.path}", SNAPCTL_INPUT_ERROR)
296
+ "Unable to find " +
297
+ f"{self.dockerfile} at path {docker_file_path}",
298
+ SNAPCTL_INPUT_ERROR)
285
299
  # elif self.subcommand == 'push':
286
300
  # if not self.input_tag:
287
301
  # error("Missing required parameter: tag", SNAPCTL_INPUT_ERROR)
@@ -49,10 +49,10 @@ class ByoSnap:
49
49
  def __init__(
50
50
  self, subcommand: str, base_url: str, api_key: Union[str, None], sid: str, name: str,
51
51
  desc: str, platform_type: str, language: str, input_tag: Union[str, None],
52
- path: Union[str, None], dockerfile: str, prefix: str, version: Union[str, None],
53
- http_port: Union[int, None], byosnap_profile: Union[str, None],
54
- skip_build: bool = False, readiness_path: Union[str, None] = None,
55
- readiness_delay: Union[int, None] = None
52
+ path: Union[str, None], resources_path: Union[str, None], dockerfile: str,
53
+ prefix: str, version: Union[str, None], http_port: Union[int, None],
54
+ byosnap_profile: Union[str, None], skip_build: bool = False,
55
+ readiness_path: Union[str, None] = None, readiness_delay: Union[int, None] = None
56
56
  ) -> None:
57
57
  self.subcommand: str = subcommand
58
58
  self.base_url: str = base_url
@@ -73,6 +73,7 @@ class ByoSnap:
73
73
  self.token) if self.token is not None else None
74
74
  self.input_tag: Union[str, None] = input_tag
75
75
  self.path: Union[str, None] = path
76
+ self.resources_path: Union[str, None] = resources_path
76
77
  self.dockerfile: str = dockerfile
77
78
  self.prefix: str = prefix
78
79
  self.version: Union[str, None] = version
@@ -185,7 +186,12 @@ class ByoSnap:
185
186
  description='Building your snap...', total=None)
186
187
  try:
187
188
  # Build your snap
188
- docker_file_path = os.path.join(self.path, self.dockerfile)
189
+ if self.resources_path:
190
+ base_path = self.resources_path
191
+ else:
192
+ base_path = self.path
193
+ docker_file_path = os.path.join(base_path, self.dockerfile)
194
+
189
195
  # Warning check for architecture specific commands
190
196
  info(f'Building on system architecture {sys_platform.machine()}')
191
197
  check_response = check_dockerfile_architecture(
@@ -416,19 +422,24 @@ class ByoSnap:
416
422
  snapctl_error("Missing required parameter: path",
417
423
  SNAPCTL_INPUT_ERROR)
418
424
  # Check path
419
- if not self.skip_build and not os.path.isfile(f"{self.path}/{self.dockerfile}"):
425
+ if self.resources_path:
426
+ docker_file_path = f"{
427
+ self.resources_path}/{self.dockerfile}"
428
+ else:
429
+ docker_file_path = f"{self.path}/{self.dockerfile}"
430
+ if not self.skip_build and not os.path.isfile(docker_file_path):
420
431
  snapctl_error(
421
- f"Unable to find " +
422
- f"{self.dockerfile} at path {self.path}",
432
+ "Unable to find " +
433
+ f"{self.dockerfile} at path {docker_file_path}",
423
434
  SNAPCTL_INPUT_ERROR)
424
435
  # elif self.subcommand == 'push':
425
436
  # if not self.input_tag:
426
437
  # error("Missing required parameter: tag", SNAPCTL_INPUT_ERROR)
427
438
  # raise typer.Exit(code=SNAPCTL_INPUT_ERROR)
428
439
  elif self.subcommand == 'upload-docs':
429
- if self.path is None:
440
+ if self.path is None and self.resources_path is None:
430
441
  snapctl_error(
431
- "Missing required parameter: path", SNAPCTL_INPUT_ERROR)
442
+ "Missing one of: path or resources-path parameter", SNAPCTL_INPUT_ERROR)
432
443
  elif self.subcommand == 'publish-version':
433
444
  if not self.input_tag:
434
445
  snapctl_error(
@@ -516,8 +527,14 @@ class ByoSnap:
516
527
  progress.add_task(
517
528
  description='Uploading your BYOSnap Docs...', total=None)
518
529
  try:
519
- swagger_file = os.path.join(self.path, 'swagger.json')
520
- readme_file = os.path.join(self.path, 'README.md')
530
+ if self.resources_path:
531
+ base_dir = self.resources_path
532
+ else:
533
+ base_dir = self.path
534
+
535
+ swagger_file = os.path.join(base_dir, 'swagger.json')
536
+ readme_file = os.path.join(base_dir, 'README.md')
537
+
521
538
  if os.path.isfile(swagger_file):
522
539
  # Push the swagger.json
523
540
  try:
@@ -538,11 +555,11 @@ class ByoSnap:
538
555
  except RequestException as e:
539
556
  info(
540
557
  'Exception: Unable to find swagger.json at ' +
541
- f'{self.path} {e}'
558
+ f'{base_dir} {e}'
542
559
  )
543
560
  else:
544
561
  info(
545
- f'No swagger.json found at {self.path}' +
562
+ f'No swagger.json found at {base_dir}' +
546
563
  '. Skipping swagger.json upload'
547
564
  )
548
565
 
@@ -567,11 +584,11 @@ class ByoSnap:
567
584
  except RequestException as e:
568
585
  info(
569
586
  'Exception: Unable to find README.md at ' +
570
- f'{self.path} {str(e)}'
587
+ f'{base_dir} {str(e)}'
571
588
  )
572
589
  else:
573
590
  info(
574
- f'No README.md found at {self.path}. Skipping README.md upload')
591
+ f'No README.md found at {base_dir}. Skipping README.md upload')
575
592
  except RequestException as e:
576
593
  info(f'Exception: Unable to upload your API Json {str(e)}')
577
594
  finally:
@@ -648,7 +665,7 @@ class ByoSnap:
648
665
  info('--skip-build set. Skipping the build step.')
649
666
  self._docker_tag()
650
667
  self._docker_push()
651
- if self.path is not None:
668
+ if self.path is not None or self.resources_path is not None:
652
669
  self.upload_docs()
653
670
  snapctl_success('BYOSNAP publish successful')
654
671
 
@@ -270,7 +270,7 @@ class Snapend:
270
270
  SNAPCTL_INPUT_ERROR)
271
271
  if self.env.upper() not in Snapend.ENV_TYPES:
272
272
  snapctl_error(
273
- "Invalid environment. Valid environments are "
273
+ "Invalid environment. Valid environments are " +
274
274
  f"{', '.join(Snapend.ENV_TYPES)}.",
275
275
  SNAPCTL_INPUT_ERROR
276
276
  )
@@ -279,8 +279,8 @@ class Snapend:
279
279
  "Missing required parameter: manifest_path", SNAPCTL_INPUT_ERROR)
280
280
  if not os.path.isfile(self.manifest_path):
281
281
  snapctl_error(
282
- f"Invalid path {
283
- self.manifest_path}. Please enter a valid path to the manifest file",
282
+ f"Invalid path {self.manifest_path}. " +
283
+ "Please enter a valid path to the manifest file",
284
284
  SNAPCTL_INPUT_ERROR
285
285
  )
286
286
  elif self.subcommand == 'apply':
@@ -290,8 +290,8 @@ class Snapend:
290
290
  raise typer.Exit(code=SNAPCTL_INPUT_ERROR)
291
291
  if not os.path.isfile(self.manifest_path):
292
292
  snapctl_error(
293
- f"Invalid path {
294
- self.manifest_path}. Please enter a valid path to the manifest file",
293
+ f"Invalid path {self.manifest_path}. " +
294
+ "Please enter a valid path to the manifest file",
295
295
  SNAPCTL_INPUT_ERROR
296
296
  )
297
297
  if not self.manifest_file_name:
@@ -307,7 +307,7 @@ class Snapend:
307
307
  "Missing required parameter: category", SNAPCTL_INPUT_ERROR)
308
308
  if self.category not in Snapend.DOWNLOAD_CATEGORY:
309
309
  snapctl_error(
310
- "Invalid SDK category. Valid categories are "
310
+ "Invalid SDK category. Valid categories are " +
311
311
  f"{', '.join(Snapend.DOWNLOAD_CATEGORY)}.",
312
312
  SNAPCTL_INPUT_ERROR
313
313
  )
@@ -317,14 +317,14 @@ class Snapend:
317
317
  # Check the Protos category
318
318
  if self.category == 'protos' and self.protos_category not in Snapend.PROTOS_CATEGORY:
319
319
  snapctl_error(
320
- "Invalid Protos category. Valid categories are "
320
+ "Invalid Protos category. Valid categories are " +
321
321
  f"{', '.join(Snapend.PROTOS_CATEGORY)}.",
322
322
  SNAPCTL_INPUT_ERROR
323
323
  )
324
324
  # Check the auth type
325
325
  if self.category == 'server-sdk' and self.auth_type not in Snapend.AUTH_TYPES:
326
326
  snapctl_error(
327
- "Invalid auth type. Valid auth types are "
327
+ "Invalid auth type. Valid auth types are " +
328
328
  f"{', '.join(Snapend.AUTH_TYPES)}.",
329
329
  SNAPCTL_INPUT_ERROR
330
330
  )
@@ -334,7 +334,7 @@ class Snapend:
334
334
  SNAPCTL_INPUT_ERROR)
335
335
  if self.out_path and not os.path.isdir(f"{self.out_path}"):
336
336
  snapctl_error(
337
- f"Invalid path {self.out_path}. "
337
+ f"Invalid path {self.out_path}. " +
338
338
  "Please enter a valid path to save your output file",
339
339
  SNAPCTL_INPUT_ERROR
340
340
  )
@@ -416,7 +416,7 @@ class Snapend:
416
416
  response = res.json()
417
417
  if 'cluster' not in response or 'id' not in response['cluster']:
418
418
  snapctl_error(
419
- 'Server Error. Unable to get a Snapend ID. '
419
+ 'Server Error. Unable to get a Snapend ID. ' +
420
420
  'Please try again in sometime.',
421
421
  SNAPCTL_SNAPEND_CLONE_SERVER_ERROR,
422
422
  progress
@@ -2,7 +2,7 @@
2
2
  Constants used by snapctl
3
3
  """
4
4
  COMPANY_NAME = 'Snapser'
5
- VERSION = '0.38.3'
5
+ VERSION = '0.39.0'
6
6
  CONFIG_FILE_MAC = '~/.snapser/config'
7
7
  CONFIG_FILE_WIN = '%homepath%\\.snapser\\config'
8
8
 
@@ -255,8 +255,11 @@ def byogs(
255
255
  path: Union[str, None] = typer.Option(
256
256
  None, "--path", help="(req: build, publish) Path to your snap code"
257
257
  ),
258
+ resources_path: Union[str, None] = typer.Option(
259
+ None, "--resources-path", help="(optional: publish) Path to resources such as your Dockerfile, swagger.json or README.md"
260
+ ),
258
261
  docker_file: str = typer.Option(
259
- "Dockerfile", help="Dockerfile name to use"
262
+ "Dockerfile", help="(optional: publish) Dockerfile name to use"
260
263
  ),
261
264
  skip_build: bool = typer.Option(
262
265
  False, "--skip-build", help="(optional: publish) Skip the build step. You have to pass the image tag you used during the build step."
@@ -275,7 +278,7 @@ def byogs(
275
278
  validate_command_context(ctx)
276
279
  byogs_obj: ByoGs = ByoGs(
277
280
  subcommand, ctx.obj['base_url'], ctx.obj['api_key'],
278
- tag, path, docker_file, skip_build
281
+ tag, path, resources_path, docker_file, skip_build
279
282
  )
280
283
  getattr(byogs_obj, subcommand.replace('-', '_'))()
281
284
  success(f"BYOGs {subcommand} complete")
@@ -317,8 +320,11 @@ def byosnap(
317
320
  path: Union[str, None] = typer.Option(
318
321
  None, "--path", help="(req: publish-image) Path to your snap code"
319
322
  ),
323
+ resources_path: Union[str, None] = typer.Option(
324
+ None, "--resources-path", help="(optional: publish-image, req: upload-docs) Path to resources such as your Dockerfile, swagger.json or README.md"
325
+ ),
320
326
  docker_file: str = typer.Option(
321
- "Dockerfile", help="Dockerfile name to use"
327
+ "Dockerfile", help="(optional: publish) Dockerfile name to use"
322
328
  ),
323
329
  # publish-version
324
330
  prefix: str = typer.Option(
@@ -359,7 +365,7 @@ def byosnap(
359
365
  validate_command_context(ctx)
360
366
  byosnap_obj: ByoSnap = ByoSnap(
361
367
  subcommand, ctx.obj['base_url'], ctx.obj['api_key'], sid,
362
- name, desc, platform_type, language, tag, path, docker_file,
368
+ name, desc, platform_type, language, tag, path, resources_path, docker_file,
363
369
  prefix, version, http_port, byosnap_profile, skip_build,
364
370
  readiness_path, readiness_delay
365
371
  )
@@ -448,7 +454,7 @@ def generate(
448
454
  raise typer.Exit(code=SNAPCTL_SUCCESS)
449
455
 
450
456
 
451
- @ app.command()
457
+ @app.command()
452
458
  def snapend(
453
459
  ctx: typer.Context,
454
460
  # Required fields
File without changes
File without changes
File without changes
File without changes