glen-cli 0.1.0__py3-none-win_amd64.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.
Binary file
@@ -0,0 +1,39 @@
1
+ Metadata-Version: 2.4
2
+ Name: glen-cli
3
+ Version: 0.1.0
4
+ Classifier: Environment :: Console
5
+ Classifier: License :: OSI Approved :: Apache Software License
6
+ Classifier: Programming Language :: Rust
7
+ Summary: The command line for Glen's API
8
+ License: Apache-2.0
9
+ Requires-Python: >=3.8
10
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
11
+ Project-URL: Homepage, https://meetglen.ai
12
+
13
+ <img src="https://meetglen.ai/glen-logo.png" alt="Glen" width="96" height="96">
14
+
15
+ # glen-cli
16
+
17
+ The command line for [Glen](https://meetglen.ai)'s API.
18
+
19
+ ```bash
20
+ pip install glen-cli
21
+ export GLEN_URL=https://app.meetglen.ai
22
+ export GLEN_TOKEN=glenpat_... # a personal token, made in the console
23
+ glen agents list
24
+ glen agents get triage
25
+ glen agents send --agent triage --message "Look at alert 4412"
26
+ glen sessions list --limit 5
27
+ glen knowledge-bases page ops 12 hosts/web.md
28
+ ```
29
+
30
+ `glen --help` lists every resource, and `glen <resource> --help` its
31
+ verbs. Each verb is one route of the API, which
32
+ `GET /v1/openapi.json` describes. A path parameter is a positional
33
+ argument; a query parameter and each field of a JSON body are flags;
34
+ `--body` takes the whole body, `@file` reads a file and `-` reads stdin;
35
+ `@@` starts a value that begins with `@`.
36
+
37
+ It prints the API's JSON answer, and exits 1 when the API refuses, with
38
+ the status and the reason on stderr.
39
+
@@ -0,0 +1,5 @@
1
+ glen_cli-0.1.0.data/scripts/glen.exe,sha256=GSf8NMRIuZ3J5-FxkUUc0QRxE1ILknpImuCjEj_1yQM,3606016
2
+ glen_cli-0.1.0.dist-info/METADATA,sha256=OYh0l5Bv4zYBwdC3FZrdziOaQ0EmtsiGdUhJkSQZW44,1366
3
+ glen_cli-0.1.0.dist-info/WHEEL,sha256=Uvw7WSmy7Kj2FBk8Va4L_dq4MDW8X5Ynby-pOX3ZNS0,94
4
+ glen_cli-0.1.0.dist-info/sboms/glen-cli.cyclonedx.json,sha256=9K40PxKR60yK-PyhvFee55kUpT54eFDbMLoZ3rFzWok,168979
5
+ glen_cli-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.16.0)
3
+ Root-Is-Purelib: false
4
+ Tag: py3-none-win_amd64