splight-cli 3.6.1__py3-none-any.whl → 3.6.2.dev3__py3-none-any.whl
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 splight-cli might be problematic. Click here for more details.
- cli/component/__init__.py +6 -6
- cli/context/__init__.py +1 -1
- cli/engine/component/__init__.py +2 -2
- cli/hub/component/__init__.py +4 -4
- cli/version.py +1 -1
- cli/workspace/__init__.py +5 -5
- {splight_cli-3.6.1.dist-info → splight_cli-3.6.2.dev3.dist-info}/METADATA +1 -1
- {splight_cli-3.6.1.dist-info → splight_cli-3.6.2.dev3.dist-info}/RECORD +11 -11
- {splight_cli-3.6.1.dist-info → splight_cli-3.6.2.dev3.dist-info}/WHEEL +0 -0
- {splight_cli-3.6.1.dist-info → splight_cli-3.6.2.dev3.dist-info}/entry_points.txt +0 -0
- {splight_cli-3.6.1.dist-info → splight_cli-3.6.2.dev3.dist-info}/top_level.txt +0 -0
cli/component/__init__.py
CHANGED
|
@@ -44,7 +44,7 @@ def create(
|
|
|
44
44
|
)
|
|
45
45
|
except Exception as e:
|
|
46
46
|
console.print(f"Error creating component: {str(e)}", style=error_style)
|
|
47
|
-
typer.Exit(1)
|
|
47
|
+
raise typer.Exit(code=1)
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
@component_app.command()
|
|
@@ -68,7 +68,7 @@ def run(
|
|
|
68
68
|
except Exception as e:
|
|
69
69
|
logger.exception(e)
|
|
70
70
|
console.print(f"Error running component: {str(e)}", style=error_style)
|
|
71
|
-
typer.Exit(1)
|
|
71
|
+
raise typer.Exit(code=1)
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
@component_app.command()
|
|
@@ -87,7 +87,7 @@ def install_requirements(
|
|
|
87
87
|
f"Error installing component requirements: {str(e)}",
|
|
88
88
|
style=error_style,
|
|
89
89
|
)
|
|
90
|
-
typer.Exit(1)
|
|
90
|
+
raise typer.Exit(code=1)
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
@component_app.command()
|
|
@@ -109,7 +109,7 @@ def readme(
|
|
|
109
109
|
console.print(
|
|
110
110
|
f"Error generating component README: {str(e)}", style=error_style
|
|
111
111
|
)
|
|
112
|
-
typer.Exit(1)
|
|
112
|
+
raise typer.Exit(code=1)
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
@component_app.command()
|
|
@@ -133,7 +133,7 @@ def test(
|
|
|
133
133
|
except Exception as e:
|
|
134
134
|
logger.exception(e)
|
|
135
135
|
console.print(f"Error testing component: {str(e)}", style=error_style)
|
|
136
|
-
typer.Exit(1)
|
|
136
|
+
raise typer.Exit(code=1)
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
@component_app.command()
|
|
@@ -150,4 +150,4 @@ def create_local_db(
|
|
|
150
150
|
console.print(
|
|
151
151
|
f"Error creating local component db: {str(e)}", style=error_style
|
|
152
152
|
)
|
|
153
|
-
typer.Exit(1)
|
|
153
|
+
raise typer.Exit(code=1)
|
cli/context/__init__.py
CHANGED
cli/engine/component/__init__.py
CHANGED
|
@@ -91,7 +91,7 @@ def upgrade(
|
|
|
91
91
|
new_component = manager.upgrade(version)
|
|
92
92
|
except ComponentUpgradeManagerException as exc:
|
|
93
93
|
console.print(exc, style=error_style)
|
|
94
|
-
raise typer.Exit(1)
|
|
94
|
+
raise typer.Exit(code=1)
|
|
95
95
|
|
|
96
96
|
console.print(
|
|
97
97
|
f"New component name: {new_component.name}, id: {new_component.id}",
|
|
@@ -122,7 +122,7 @@ def clone(
|
|
|
122
122
|
new_component = manager.clone_component(version)
|
|
123
123
|
except ComponentUpgradeManagerException as exc:
|
|
124
124
|
console.print(exc, style=error_style)
|
|
125
|
-
raise typer.Exit(1)
|
|
125
|
+
raise typer.Exit(code=1)
|
|
126
126
|
|
|
127
127
|
console.print(
|
|
128
128
|
f"New component name: {new_component.name}, id: {new_component.id}",
|
cli/hub/component/__init__.py
CHANGED
|
@@ -32,7 +32,7 @@ def push(
|
|
|
32
32
|
manager.push(path, force=force)
|
|
33
33
|
except Exception as exc:
|
|
34
34
|
console.print(f"Error pushing component: {exc}", style=error_style)
|
|
35
|
-
raise typer.Exit(1)
|
|
35
|
+
raise typer.Exit(code=1)
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
@component_app.command()
|
|
@@ -46,7 +46,7 @@ def pull(
|
|
|
46
46
|
manager.pull(name=name, version=version)
|
|
47
47
|
except Exception as exc:
|
|
48
48
|
console.print(f"Error pulling component: {exc}", style=error_style)
|
|
49
|
-
raise typer.Exit(1)
|
|
49
|
+
raise typer.Exit(code=1)
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
@component_app.command()
|
|
@@ -56,7 +56,7 @@ def list(ctx: typer.Context):
|
|
|
56
56
|
manager.list_components()
|
|
57
57
|
except Exception as exc:
|
|
58
58
|
console.print(f"Error listing components: {exc}", style=error_style)
|
|
59
|
-
raise typer.Exit(1)
|
|
59
|
+
raise typer.Exit(code=1)
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
@component_app.command()
|
|
@@ -70,4 +70,4 @@ def versions(
|
|
|
70
70
|
console.print(
|
|
71
71
|
f"Error getting component versions: {exc}", style=error_style
|
|
72
72
|
)
|
|
73
|
-
raise typer.Exit(1)
|
|
73
|
+
raise typer.Exit(code=1)
|
cli/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "3.6.
|
|
1
|
+
__version__ = "3.6.2.dev3"
|
cli/workspace/__init__.py
CHANGED
|
@@ -26,7 +26,7 @@ def list(ctx: typer.Context) -> None:
|
|
|
26
26
|
console.print(
|
|
27
27
|
f"Error configuring Splight Hub: {str(e)}", style=error_style
|
|
28
28
|
)
|
|
29
|
-
typer.Exit(1)
|
|
29
|
+
raise typer.Exit(code=1)
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
@workspace_app.command()
|
|
@@ -47,7 +47,7 @@ def create(
|
|
|
47
47
|
console.print(
|
|
48
48
|
f"Error configuring Splight Hub: {str(e)}", style=error_style
|
|
49
49
|
)
|
|
50
|
-
typer.Exit(1)
|
|
50
|
+
raise typer.Exit(code=1)
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
@workspace_app.command()
|
|
@@ -65,7 +65,7 @@ def show(
|
|
|
65
65
|
console.print(
|
|
66
66
|
f"Error showing workspace contents: {str(e)}", style=error_style
|
|
67
67
|
)
|
|
68
|
-
typer.Exit(1)
|
|
68
|
+
raise typer.Exit(code=1)
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
@workspace_app.command()
|
|
@@ -78,7 +78,7 @@ def delete(
|
|
|
78
78
|
console.print(f"Deleted workspace {name}", style=success_style)
|
|
79
79
|
except Exception as e:
|
|
80
80
|
console.print(e, style=error_style)
|
|
81
|
-
typer.Exit(1)
|
|
81
|
+
raise typer.Exit(code=1)
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
@workspace_app.command()
|
|
@@ -93,4 +93,4 @@ def select(
|
|
|
93
93
|
console.print(
|
|
94
94
|
f"Error configuring Splight Hub: {str(e)}", style=error_style
|
|
95
95
|
)
|
|
96
|
-
typer.Exit(1)
|
|
96
|
+
raise typer.Exit(code=1)
|
|
@@ -2,8 +2,8 @@ cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
2
2
|
cli/cli.py,sha256=decI3-omcY2VHhu2G_ycpI8OX8mPOWOT8gAtOjWuN90,986
|
|
3
3
|
cli/constants.py,sha256=ope-1uVfI3yZgNV1HdZdJBTgZE1Bq7Mnh6xYywps1B8,1577
|
|
4
4
|
cli/settings.py,sha256=wNPC6RLbJzXqPNzin-sK9hjK-24J6mFbpfy27I3MeOc,653
|
|
5
|
-
cli/version.py,sha256=
|
|
6
|
-
cli/component/__init__.py,sha256=
|
|
5
|
+
cli/version.py,sha256=V2x2xkq-wkBHVQMzIRyRuWEWz7gia2OkYdH9-zZxhAo,27
|
|
6
|
+
cli/component/__init__.py,sha256=leYcpVgpJ5yEpfdPBAACXeqnlTLKaQBVH1Durd-LRBE,4538
|
|
7
7
|
cli/component/component.py,sha256=vyyUbUh963UV8a5ggjZsdAuP29qQJ77sZgLqcSd263s,8538
|
|
8
8
|
cli/component/exceptions.py,sha256=936K_NhkvvdpKWeQrY80CFn2eMi2BUSw324vCJvM9Mo,1521
|
|
9
9
|
cli/component/loaders.py,sha256=r-nesPa7byCqcvNp0_kx_PQr7QYTKNGYgnjWKx2XxJQ,1703
|
|
@@ -18,14 +18,14 @@ cli/component/templates/tests.py,sha256=NxKPIySTK0gyM4GBAYtzUD7P7UO-ODWQwCso1gKR
|
|
|
18
18
|
cli/component/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
19
|
cli/component/tests/test_component_manager.py,sha256=GvcxNFG9I7GqgQzLL2MXo6THq_GtDPyaA0_Hp4GiKLM,3760
|
|
20
20
|
cli/config/__init__.py,sha256=2nYxWf9VeUM8dR15imaNKOy6OPiRciQtTNBMgXtWInM,2660
|
|
21
|
-
cli/context/__init__.py,sha256=
|
|
21
|
+
cli/context/__init__.py,sha256=KJp_L3l_7pRSl8VyM0272uVpCGvRcvHc3H3Aw5B-XGk,776
|
|
22
22
|
cli/context/context.py,sha256=CdW8xP76iBESaFpCP8q9fQ34KN47IV55Qj84MAYuOqM,383
|
|
23
23
|
cli/context/workspace.py,sha256=PF5l2msDluVT69Cwb6sVGfGjYP939eQnS2Ted5fa14I,3866
|
|
24
24
|
cli/engine/__init__.py,sha256=EKLAeTD58zmoXxYW4lPL8FBUUVPuXzhhSYQci4pERMM,1049
|
|
25
25
|
cli/engine/alert/__init__.py,sha256=S3qz4um_BwipwtZUUUUPT0JdU07UoB-96FLTH_7ir6Q,1975
|
|
26
26
|
cli/engine/asset/__init__.py,sha256=NPUmwwVzZYTVgiESmffokS8p6yWMc52cPCwb1aQGAyc,1960
|
|
27
27
|
cli/engine/attribute/__init__.py,sha256=IQxh8RQrh0IXo2oln98vHK-X9uNgEGkRfn4SrDUeMwQ,2013
|
|
28
|
-
cli/engine/component/__init__.py,sha256=
|
|
28
|
+
cli/engine/component/__init__.py,sha256=3qPgHc1o27UbMt5S3xDMfcf1OPQ-XjDp64TdpxbS_os,3832
|
|
29
29
|
cli/engine/datalake/__init__.py,sha256=mta5qZHU2Xt8zYMk5SWZkB4miYSn-y3u_v2G8YdSWbw,2097
|
|
30
30
|
cli/engine/file/__init__.py,sha256=7AHmIatL3lXJjiDQUsVH0KULnc6LyLhlrn20OqHIN8o,2278
|
|
31
31
|
cli/engine/manager/__init__.py,sha256=KrCrc7W56Sm7-emgpDAjX7xaThIHoVRj1JsPKBxri0w,212
|
|
@@ -34,7 +34,7 @@ cli/engine/manager/manager.py,sha256=DNvWWNxMoWHXMd7_1zghfJHhzD-lFNrV_2LocxtRV3w
|
|
|
34
34
|
cli/engine/secret/__init__.py,sha256=ywcteg-HmBakJRAKAitlgltLlmdHTON4mY1EfjXq9NE,1993
|
|
35
35
|
cli/engine/setpoint/__init__.py,sha256=GxU2fHnG1X27KWFuWP58LHi8clHhSu7eqIO_0Jl19TY,1746
|
|
36
36
|
cli/hub/__init__.py,sha256=yS9Qmz5oanNi56oGmwGURvCMz0KZPyfsiJ2UuZm9AJQ,396
|
|
37
|
-
cli/hub/component/__init__.py,sha256=
|
|
37
|
+
cli/hub/component/__init__.py,sha256=m7y73pD5QHDul24zJLcNKWQ_ZqSU3nE2PJmaGkwrO2Q,1984
|
|
38
38
|
cli/hub/component/exceptions.py,sha256=DCrGkGk3OxhajYbt5O96qfEplKbXAQxvUkIR6erBU1E,1264
|
|
39
39
|
cli/hub/component/hub_manager.py,sha256=494oI76XN6E6u8-cBgrlW2OumcfeeYWLCx6wJLBq8aw,4614
|
|
40
40
|
cli/utils/__init__.py,sha256=lZg1_NuB7SC5YZvt_jfwgY67OBD-Uj-nD7-c6FrnkKM,299
|
|
@@ -44,9 +44,9 @@ cli/utils/loader.py,sha256=teFWbjSpBiuc9UoK6q5-ApQ5n9JSecoLMkvJC-ULwz4,1884
|
|
|
44
44
|
cli/utils/pprint.py,sha256=q2-UizF_Zq4etoJnZKr9XUNL4Nsu6jbY_bn-QpGr8z8,1079
|
|
45
45
|
cli/utils/template.py,sha256=D6YgaT-7OxOvLdS8TT33hlT0Qe9NAPE1t5_QQiQZniM,436
|
|
46
46
|
cli/utils/yaml.py,sha256=jhNdQa_ExlSaXsPnlfLKKMOKbF1fJLpx0o264AdCNrg,754
|
|
47
|
-
cli/workspace/__init__.py,sha256=
|
|
48
|
-
splight_cli-3.6.
|
|
49
|
-
splight_cli-3.6.
|
|
50
|
-
splight_cli-3.6.
|
|
51
|
-
splight_cli-3.6.
|
|
52
|
-
splight_cli-3.6.
|
|
47
|
+
cli/workspace/__init__.py,sha256=oQfZtfGIAQckbnuY74nXbfdqIij3h2g3lomtKh6D8v8,2831
|
|
48
|
+
splight_cli-3.6.2.dev3.dist-info/METADATA,sha256=-QxSZQOOSrhcpx-qljYhTWSYt444uIAIUb6m3hOKLCY,1290
|
|
49
|
+
splight_cli-3.6.2.dev3.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
50
|
+
splight_cli-3.6.2.dev3.dist-info/entry_points.txt,sha256=IDM6zGhinztZLBDM4bx17B1Bw7Ruo2_yzEa91Fe8i2Y,41
|
|
51
|
+
splight_cli-3.6.2.dev3.dist-info/top_level.txt,sha256=HmpDxSFAbd4V_5A36MKSqpOO_JlkyBLYDfR8F8Vjp7E,12
|
|
52
|
+
splight_cli-3.6.2.dev3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|