prelude-cli-beta 1415__py3-none-any.whl → 1417__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 prelude-cli-beta might be problematic. Click here for more details.

@@ -47,12 +47,28 @@ def endpoints(controller, limit, odata_filter, odata_orderby):
47
47
  @click.option("--odata_orderby", help="OData orderby string", default=None)
48
48
  @click.pass_obj
49
49
  @pretty_print
50
- def endpoints(controller, limit, odata_filter, odata_orderby):
50
+ def inboxes(controller, limit, odata_filter, odata_orderby):
51
51
  """List inboxes with SCM data"""
52
52
  with Spinner(description="Fetching inboxes from partner"):
53
53
  return controller.inboxes(filter=odata_filter, orderby=odata_orderby, top=limit)
54
54
 
55
55
 
56
+ @scm.command("network_devices")
57
+ @click.option(
58
+ "--limit", default=100, help="maximum number of results to return", type=int
59
+ )
60
+ @click.option("--odata_filter", help="OData filter string", default=None)
61
+ @click.option("--odata_orderby", help="OData orderby string", default=None)
62
+ @click.pass_obj
63
+ @pretty_print
64
+ def network_devices(controller, limit, odata_filter, odata_orderby):
65
+ """List network devices with SCM data"""
66
+ with Spinner(description="Fetching network devices from partner"):
67
+ return controller.network_devices(
68
+ filter=odata_filter, orderby=odata_orderby, top=limit
69
+ )
70
+
71
+
56
72
  @scm.command("users")
57
73
  @click.option(
58
74
  "--limit", default=100, help="maximum number of results to return", type=int
@@ -61,7 +77,7 @@ def endpoints(controller, limit, odata_filter, odata_orderby):
61
77
  @click.option("--odata_orderby", help="OData orderby string", default=None)
62
78
  @click.pass_obj
63
79
  @pretty_print
64
- def endpoints(controller, limit, odata_filter, odata_orderby):
80
+ def users(controller, limit, odata_filter, odata_orderby):
65
81
  """List users with SCM data"""
66
82
  with Spinner(description="Fetching users from partner"):
67
83
  return controller.users(filter=odata_filter, orderby=odata_orderby, top=limit)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: prelude-cli-beta
3
- Version: 1415
3
+ Version: 1417
4
4
  Summary: For interacting with the Prelude SDK
5
5
  Home-page: https://github.com/preludeorg
6
6
  Author: Prelude Research
@@ -11,7 +11,7 @@ Classifier: Operating System :: OS Independent
11
11
  Requires-Python: >=3.10
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Requires-Dist: prelude-sdk-beta==1415
14
+ Requires-Dist: prelude-sdk-beta==1417
15
15
  Requires-Dist: click>8
16
16
  Requires-Dist: rich
17
17
  Requires-Dist: python-dateutil
@@ -10,11 +10,11 @@ prelude_cli_beta/views/generate.py,sha256=zkdzBaBO7K5tXarnKfzZjo9-WaG5i80y1ZbQk0
10
10
  prelude_cli_beta/views/iam.py,sha256=J8y6kJGbQkEexcia69q6vLJ3aEhLyUFteCylTptBHBQ,10013
11
11
  prelude_cli_beta/views/jobs.py,sha256=2FeiJxHrw4zfgtUJq_bEoG84i_9TqZ5w6CulA80WoNA,1455
12
12
  prelude_cli_beta/views/partner.py,sha256=16zXcX5ZhiNZqKSXG9ePPGB9K3A-OgrVIdJGDJhB6f0,6379
13
- prelude_cli_beta/views/scm.py,sha256=cHEGpLGpHvs3KGgHawqdTELCYTD3-E_mznRKwLjjj8c,21931
13
+ prelude_cli_beta/views/scm.py,sha256=XTXyf3iWxgv1WmoVl55bwOmxiIMWRWyLSy_96GdzSSg,22541
14
14
  prelude_cli_beta/views/shared.py,sha256=ZKvY8N1Vi6RtEbJli5PDzJ9R6L_bX2F27n1tm6Knvgs,1101
15
- prelude_cli_beta-1415.dist-info/licenses/LICENSE,sha256=ttdT5omfN6LNmtQoIjUhkkFhz6i44SDMRNwKrbfyTf8,1069
16
- prelude_cli_beta-1415.dist-info/METADATA,sha256=K69LlhR_czs39iJ17xANBwYzPnIl_NMK543a-0A8DEY,993
17
- prelude_cli_beta-1415.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
18
- prelude_cli_beta-1415.dist-info/entry_points.txt,sha256=WowrC6fz2D6S8S-5OY0g-bxUGGSZZ_Z6KzSXXd34pC4,88
19
- prelude_cli_beta-1415.dist-info/top_level.txt,sha256=j50aCGsQamLMiQh9PcolDBCAeUJzi9y08e0i9Gqshkk,17
20
- prelude_cli_beta-1415.dist-info/RECORD,,
15
+ prelude_cli_beta-1417.dist-info/licenses/LICENSE,sha256=ttdT5omfN6LNmtQoIjUhkkFhz6i44SDMRNwKrbfyTf8,1069
16
+ prelude_cli_beta-1417.dist-info/METADATA,sha256=DxqfbKcbEeekwUH1XtHpR9qeILYQGp92d0oE5PQLKfE,993
17
+ prelude_cli_beta-1417.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
18
+ prelude_cli_beta-1417.dist-info/entry_points.txt,sha256=WowrC6fz2D6S8S-5OY0g-bxUGGSZZ_Z6KzSXXd34pC4,88
19
+ prelude_cli_beta-1417.dist-info/top_level.txt,sha256=j50aCGsQamLMiQh9PcolDBCAeUJzi9y08e0i9Gqshkk,17
20
+ prelude_cli_beta-1417.dist-info/RECORD,,