cgse-tools 0.11.0__py3-none-any.whl → 0.11.2__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.
- cgse_tools/cgse_commands.py +5 -1
- {cgse_tools-0.11.0.dist-info → cgse_tools-0.11.2.dist-info}/METADATA +1 -1
- cgse_tools-0.11.2.dist-info/RECORD +9 -0
- {cgse_tools-0.11.0.dist-info → cgse_tools-0.11.2.dist-info}/entry_points.txt +3 -3
- cgse_tools-0.11.0.dist-info/RECORD +0 -9
- {cgse_tools-0.11.0.dist-info → cgse_tools-0.11.2.dist-info}/WHEEL +0 -0
cgse_tools/cgse_commands.py
CHANGED
|
@@ -10,6 +10,7 @@ from typing import Annotated
|
|
|
10
10
|
import rich
|
|
11
11
|
import typer
|
|
12
12
|
|
|
13
|
+
from cgse_common import AppState
|
|
13
14
|
from egse.plugin import entry_points
|
|
14
15
|
from egse.setup import Setup
|
|
15
16
|
from egse.system import format_datetime
|
|
@@ -18,12 +19,15 @@ app = typer.Typer()
|
|
|
18
19
|
|
|
19
20
|
|
|
20
21
|
@app.command()
|
|
21
|
-
def top():
|
|
22
|
+
def top(ctx: typer.Context):
|
|
22
23
|
"""
|
|
23
24
|
A top-like interface for core services and device control servers.
|
|
24
25
|
|
|
25
26
|
Not yet implemented.
|
|
26
27
|
"""
|
|
28
|
+
state: AppState = ctx.obj
|
|
29
|
+
|
|
30
|
+
print(f"The `verbose` flag is {state.verbose}")
|
|
27
31
|
print("This fancy top is not yet implemented.")
|
|
28
32
|
|
|
29
33
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
cgse_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
cgse_tools/cgse_clock.py,sha256=DKcTA78cD3lJj2ve_h6A3r_bGUyD1sJ9lphqwUAF02U,1395
|
|
3
|
+
cgse_tools/cgse_commands.py,sha256=bgtK3ats1i9t9hZT5mNMyE5Xt3ut4b29cK3RB8dVNNo,9977
|
|
4
|
+
cgse_tools/cgse_services.py,sha256=ZERds5uCHuR5_R4YpBkc2yUTGImtVdKlItherlfL5IM,661
|
|
5
|
+
egse/tools/status.py,sha256=2PFjU760X-E2aeLI5sWOZJ_rqHWCG6YwjmqreYpJ6_c,2188
|
|
6
|
+
cgse_tools-0.11.2.dist-info/METADATA,sha256=AuW2q5b-_yYHMeTJ8gdhnNOngQiutLnORh1GRpsYHd4,433
|
|
7
|
+
cgse_tools-0.11.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8
|
+
cgse_tools-0.11.2.dist-info/entry_points.txt,sha256=4jEdNa1XkyLA_xue99VjaLKorttg_gff8O3A-LFR8yE,382
|
|
9
|
+
cgse_tools-0.11.2.dist-info/RECORD,,
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
cgse-status = egse.tools.status:main
|
|
3
3
|
|
|
4
4
|
[cgse.command]
|
|
5
|
-
check = cgse_tools.cgse_commands:check
|
|
5
|
+
check = cgse_tools.cgse_commands:check
|
|
6
6
|
clock = cgse_tools.cgse_clock:clock
|
|
7
7
|
init = cgse_tools.cgse_commands:init
|
|
8
|
-
show = cgse_tools.cgse_commands:show
|
|
8
|
+
show = cgse_tools.cgse_commands:show
|
|
9
9
|
top = cgse_tools.cgse_commands:top
|
|
10
10
|
|
|
11
|
-
[cgse.service]
|
|
11
|
+
[cgse.service.example]
|
|
12
12
|
dev-x = cgse_tools.cgse_services:dev_x
|
|
13
13
|
|
|
14
14
|
[cgse.version]
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
cgse_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
cgse_tools/cgse_clock.py,sha256=DKcTA78cD3lJj2ve_h6A3r_bGUyD1sJ9lphqwUAF02U,1395
|
|
3
|
-
cgse_tools/cgse_commands.py,sha256=9MlfaokKuEMm9UYy2jG7XTDH6y0KoqMIt0SeFNsZsqw,9843
|
|
4
|
-
cgse_tools/cgse_services.py,sha256=ZERds5uCHuR5_R4YpBkc2yUTGImtVdKlItherlfL5IM,661
|
|
5
|
-
egse/tools/status.py,sha256=2PFjU760X-E2aeLI5sWOZJ_rqHWCG6YwjmqreYpJ6_c,2188
|
|
6
|
-
cgse_tools-0.11.0.dist-info/METADATA,sha256=0gY_0dAtJCUOzASMiUVvGzEhCPrjikblE5TUI-m0fK8,433
|
|
7
|
-
cgse_tools-0.11.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8
|
-
cgse_tools-0.11.0.dist-info/entry_points.txt,sha256=bEeUWYzhzmiePQ17LaCYJ8da1TbXUDImnqDPv8373rs,388
|
|
9
|
-
cgse_tools-0.11.0.dist-info/RECORD,,
|
|
File without changes
|