beam-client 0.2.76__tar.gz → 0.2.78__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.
- {beam_client-0.2.76 → beam_client-0.2.78}/PKG-INFO +2 -2
- {beam_client-0.2.76 → beam_client-0.2.78}/pyproject.toml +2 -2
- {beam_client-0.2.76 → beam_client-0.2.78}/src/beam/cli/main.py +15 -4
- {beam_client-0.2.76 → beam_client-0.2.78}/src/beam/__init__.py +0 -0
- {beam_client-0.2.76 → beam_client-0.2.78}/src/beam/__main__.py +0 -0
- {beam_client-0.2.76 → beam_client-0.2.78}/src/beam/cli/__init__.py +0 -0
- {beam_client-0.2.76 → beam_client-0.2.78}/src/beam/cli/configure.py +0 -0
- {beam_client-0.2.76 → beam_client-0.2.78}/src/beam/cli/example.py +0 -0
- {beam_client-0.2.76 → beam_client-0.2.78}/src/beam/cli/login.py +0 -0
- {beam_client-0.2.76 → beam_client-0.2.78}/src/beam/cli/logs.py +0 -0
- {beam_client-0.2.76 → beam_client-0.2.78}/src/beam/cli/quickstart.py +0 -0
- {beam_client-0.2.76 → beam_client-0.2.78}/src/beam/cli/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: beam-client
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.78
|
|
4
4
|
Summary:
|
|
5
5
|
Author: beam.cloud
|
|
6
6
|
Author-email: support@beam.cloud
|
|
@@ -11,6 +11,6 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
-
Requires-Dist: beta9 (>=0.1.
|
|
14
|
+
Requires-Dist: beta9 (>=0.1.80,<0.2.0)
|
|
15
15
|
Requires-Dist: requests (>=2.31.0,<3.0.0)
|
|
16
16
|
Requires-Dist: websockets (>=12.0,<13.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "beam-client"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.78"
|
|
4
4
|
description = ""
|
|
5
5
|
authors = ["beam.cloud <support@beam.cloud>"]
|
|
6
6
|
packages = [
|
|
@@ -10,7 +10,7 @@ packages = [
|
|
|
10
10
|
|
|
11
11
|
[tool.poetry.dependencies]
|
|
12
12
|
python = "^3.8"
|
|
13
|
-
beta9 = "^0.1.
|
|
13
|
+
beta9 = "^0.1.80"
|
|
14
14
|
requests = "^2.31.0"
|
|
15
15
|
websockets = "^12.0"
|
|
16
16
|
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import sys
|
|
3
3
|
from dataclasses import dataclass
|
|
4
|
+
from gettext import gettext as _
|
|
4
5
|
from pathlib import Path
|
|
5
6
|
|
|
7
|
+
import click
|
|
6
8
|
from beta9 import config
|
|
7
9
|
from beta9.cli.main import load_cli
|
|
8
10
|
|
|
@@ -37,10 +39,19 @@ _cli = cli
|
|
|
37
39
|
|
|
38
40
|
|
|
39
41
|
def cli():
|
|
40
|
-
|
|
41
|
-
utils.check_version()
|
|
42
|
+
utils.check_version()
|
|
42
43
|
|
|
44
|
+
try:
|
|
43
45
|
if exit_code := _cli(standalone_mode=False):
|
|
44
46
|
sys.exit(exit_code)
|
|
45
|
-
except
|
|
46
|
-
|
|
47
|
+
except (EOFError, KeyboardInterrupt) as e:
|
|
48
|
+
click.echo(file=sys.stderr)
|
|
49
|
+
raise click.Abort() from e
|
|
50
|
+
except click.exceptions.ClickException as e:
|
|
51
|
+
e.show()
|
|
52
|
+
sys.exit(e.exit_code)
|
|
53
|
+
except click.exceptions.Exit as e:
|
|
54
|
+
sys.exit(e.exit_code)
|
|
55
|
+
except click.exceptions.Abort:
|
|
56
|
+
click.echo(_("Aborted!"), file=sys.stderr)
|
|
57
|
+
sys.exit(1)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|