cloudcap-cli 0.1.1__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.
@@ -0,0 +1,66 @@
1
+ Metadata-Version: 2.4
2
+ Name: cloudcap-cli
3
+ Version: 0.1.1
4
+ Summary: CloudCap CLI — terminal client for the CloudCap HTTP API
5
+ Author: CloudCap
6
+ License: Proprietary
7
+ Keywords: cloudcap,cli,terraform,cloud
8
+ Classifier: Development Status :: 4 - Beta
9
+ Classifier: Environment :: Console
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Topic :: Utilities
16
+ Requires-Python: >=3.11
17
+ Description-Content-Type: text/markdown
18
+ Requires-Dist: httpx>=0.27.0
19
+ Provides-Extra: dev
20
+ Requires-Dist: pytest>=8.2.0; extra == "dev"
21
+ Requires-Dist: build>=1.2.0; extra == "dev"
22
+
23
+ # cloudcap (PyPI)
24
+
25
+ Terminal client for the CloudCap HTTP API: evaluate Terraform plans, deploy, optimize, and manage context from your shell.
26
+
27
+ ## Install
28
+
29
+ ```bash
30
+ pipx install cloudcap-cli
31
+ # or
32
+ pip install cloudcap-cli
33
+ ```
34
+
35
+ Requires **Python 3.11+**. Only dependency: **httpx**.
36
+
37
+ ## Quick start
38
+
39
+ ```bash
40
+ export CLOUDCAP_URL="https://your-api.example.com/v1"
41
+ cloudcap login --token "YOUR_BEARER_OR_PAT"
42
+ cloudcap whoami
43
+ cloudcap evaluate plan.json --region us-east-1
44
+ ```
45
+
46
+ Machine-readable output:
47
+
48
+ ```bash
49
+ cloudcap --output json whoami
50
+ cloudcap --output json pipeline status RUN_ID
51
+ ```
52
+
53
+ Full documentation: [docs/cli-install.md](../docs/cli-install.md) in the CloudCap repo.
54
+
55
+ ## Configuration
56
+
57
+ - File: `~/.cloudcap/config.json` (created by `cloudcap login`)
58
+ - Env overrides: `CLOUDCAP_URL`, `CLOUDCAP_TOKEN`, `CLOUDCAP_ORG_ID`, `CLOUDCAP_ENV_ID`
59
+
60
+ ## Docker (CI)
61
+
62
+ See `Dockerfile` in this directory; build with a wheel or pin `pip install cloudcap-cli==VERSION`.
63
+
64
+ ## Server package
65
+
66
+ The API server is published separately as **`cloudcap-backend`**. Install the CLI with `pip install cloudcap-cli` without pulling server dependencies. The command on PATH remains **`cloudcap`**.
@@ -0,0 +1,44 @@
1
+ # cloudcap (PyPI)
2
+
3
+ Terminal client for the CloudCap HTTP API: evaluate Terraform plans, deploy, optimize, and manage context from your shell.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pipx install cloudcap-cli
9
+ # or
10
+ pip install cloudcap-cli
11
+ ```
12
+
13
+ Requires **Python 3.11+**. Only dependency: **httpx**.
14
+
15
+ ## Quick start
16
+
17
+ ```bash
18
+ export CLOUDCAP_URL="https://your-api.example.com/v1"
19
+ cloudcap login --token "YOUR_BEARER_OR_PAT"
20
+ cloudcap whoami
21
+ cloudcap evaluate plan.json --region us-east-1
22
+ ```
23
+
24
+ Machine-readable output:
25
+
26
+ ```bash
27
+ cloudcap --output json whoami
28
+ cloudcap --output json pipeline status RUN_ID
29
+ ```
30
+
31
+ Full documentation: [docs/cli-install.md](../docs/cli-install.md) in the CloudCap repo.
32
+
33
+ ## Configuration
34
+
35
+ - File: `~/.cloudcap/config.json` (created by `cloudcap login`)
36
+ - Env overrides: `CLOUDCAP_URL`, `CLOUDCAP_TOKEN`, `CLOUDCAP_ORG_ID`, `CLOUDCAP_ENV_ID`
37
+
38
+ ## Docker (CI)
39
+
40
+ See `Dockerfile` in this directory; build with a wheel or pin `pip install cloudcap-cli==VERSION`.
41
+
42
+ ## Server package
43
+
44
+ The API server is published separately as **`cloudcap-backend`**. Install the CLI with `pip install cloudcap-cli` without pulling server dependencies. The command on PATH remains **`cloudcap`**.
@@ -0,0 +1,3 @@
1
+ """CloudCap terminal client (HTTP API)."""
2
+
3
+ __version__ = "0.1.1"
@@ -0,0 +1,4 @@
1
+ from cloudcap.cli import main
2
+
3
+ if __name__ == "__main__":
4
+ raise SystemExit(main())