runtime-sdk 0.4.36__tar.gz → 0.4.37__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: runtime-sdk
3
- Version: 0.4.36
3
+ Version: 0.4.37
4
4
  Summary: Runtime Python SDK and CLI
5
5
  Project-URL: Repository, https://github.com/The-Money-Company-Limited/runtimevm
6
6
  Project-URL: Issues, https://github.com/The-Money-Company-Limited/runtimevm/issues
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "runtime-sdk"
3
- version = "0.4.36"
3
+ version = "0.4.37"
4
4
  description = "Runtime Python SDK and CLI"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -536,13 +536,17 @@ def _windows_unsupported() -> bool:
536
536
 
537
537
 
538
538
  def main(argv: list[str] | None = None) -> int:
539
+ raw_argv = list(sys.argv[1:] if argv is None else argv)
539
540
  parser = build_parser()
540
- args = parser.parse_args(argv)
541
+ args = parser.parse_args(raw_argv)
541
542
 
542
543
  if _windows_unsupported():
543
544
  return report_error("runtime-sdk supports macOS and Linux only; Windows is not supported")
544
545
 
545
546
  try:
547
+ if args.command == "enter" and args.enter_command and "--" not in raw_argv:
548
+ return report_error("enter command must be separated from the computer id with --")
549
+
546
550
  config = load_config()
547
551
  if args.base_url:
548
552
  config.base_url = args.base_url
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: runtime-sdk
3
- Version: 0.4.36
3
+ Version: 0.4.37
4
4
  Summary: Runtime Python SDK and CLI
5
5
  Project-URL: Repository, https://github.com/The-Money-Company-Limited/runtimevm
6
6
  Project-URL: Issues, https://github.com/The-Money-Company-Limited/runtimevm/issues
File without changes
File without changes