Skip to content

Commit d7ac328

Browse files
Add revenueholdings-license gating: require_license() on all CLI commands
1 parent 66dd190 commit d7ac328

10 files changed

Lines changed: 34 additions & 19 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dependencies = [
1515
"click>=8.1",
1616
"rich>=13.0",
1717
"pyyaml>=6.0",
18+
"revenueholdings-license>=0.1.0",
1819
]
1920

2021
[project.optional-dependencies]

src/deploydiff.egg-info/PKG-INFO

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ Project-URL: Documentation, https://github.com/Coding-Dev-Tools/deploydiff#readm
1010
Project-URL: Issue Tracker, https://github.com/Coding-Dev-Tools/deploydiff/issues
1111
Requires-Python: >=3.9
1212
Description-Content-Type: text/markdown
13+
License-File: LICENSE
1314
Requires-Dist: click>=8.1
1415
Requires-Dist: rich>=13.0
1516
Requires-Dist: pyyaml>=6.0
17+
Requires-Dist: revenueholdings-license>=0.1.0
1618
Provides-Extra: dev
1719
Requires-Dist: pytest>=7.0; extra == "dev"
1820
Requires-Dist: pytest-cov>=4.0; extra == "dev"
21+
Dynamic: license-file
1922

2023
# DeployDiff CLI
2124

@@ -33,6 +36,12 @@ Preview infrastructure changes with human-readable diffs, cost impact estimation
3336
pip install deploydiff
3437
```
3538

39+
Or install directly from GitHub:
40+
41+
```bash
42+
pip install git+https://github.com/Coding-Dev-Tools/deploydiff.git
43+
```
44+
3645
## Usage
3746

3847
```bash
@@ -81,32 +90,33 @@ deploydiff cost --tf plan.json --threshold 500 || echo "Cost increase exceeds $5
8190

8291
## Pricing
8392

84-
One license covers all Revenue Holdings CLI tools. Pricing is per-seat.
93+
DeployDiff is one of eight tools in the Revenue Holdings suite. One license covers all CLI tools.
8594

86-
| Tier | Price | Best For |
95+
| Plan | Price | Best For |
8796
|------|-------|----------|
88-
| **Open Source** | $0 | Individual devs, OSS projects — CLI only, 1 stack |
89-
| **Pro** | **$29/mo** ($23 billed annually) | Professional devs — unlimited stacks, cost estimation |
90-
| **Team** | **$79/mo** ($63 billed annually) | Teams up to 5 — multi-stack, team collaboration, alerting |
91-
| **Enterprise** | **$199/mo** (custom) | Organizations — compliance reports, RBAC, SSO, SLA |
97+
| **Free** | $0 | Individual devs, OSS — CLI only, 1 plan comparison |
98+
| **DeployDiff Individual** | **$15/mo** ($12 billed annually) | Professional devs — unlimited plans, cost estimation |
99+
| **Suite (all 8 tools)** | **$49/mo** ($39 billed annually) | Full Revenue Holdings toolkit — 40% savings |
100+
| **Team** | **$79/mo** ($63 billed annually) | Up to 5 devs — shared reports, Slack alerts |
101+
| **Enterprise** | Custom | SSO, RBAC, compliance reports, dedicated support |
92102

93-
🔹 **No lock-in**: CLI works fully offline on the free tier — no telemetry, no phone-home.
103+
🔹 **No lock-in**: CLI works fully offline on the free tier — no telemetry, no phone-home.
94104
🔹 **Annual billing**: Save 20%.
95105

96106
### Per-Tier Features
97107

98-
| Feature | OSS | Pro | Team | Enterprise |
99-
|---------|:---:|:---:|:----:|:----------:|
100-
| CLI: preview, cost, rollback | ✓ | ✓ | ✓ | ✓ |
101-
| Unlimited stacks | — | ✓ | ✓ | ✓ |
102-
| Cost impact estimation | — | ✓ | ✓ | ✓ |
103-
| Multi-provider (TF, CFN, Pulumi) | — | ✓ | ✓ | ✓ |
104-
| Team collaboration / shared reports | — | — | ✓ | ✓ |
105-
| Slack / webhook alerts | — | — | ✓ | ✓ |
106-
| Compliance reports | — | — | — | ✓ |
107-
| RBAC | — | — | — | ✓ |
108-
| SSO / SAML / OIDC | — | — | — | ✓ |
109-
| Priority support | Community | 24h | 8h | Dedicated |
108+
| Feature | Free | DeployDiff | Suite | Team | Enterprise |
109+
|---------|:----:|:----------:|:-----:|:----:|:----------:|
110+
| CLI: preview, cost, rollback | ✓ | ✓ | ✓ | ✓ | ✓ |
111+
| Unlimited stacks | — | ✓ | ✓ | ✓ | ✓ |
112+
| Cost impact estimation | — | ✓ | ✓ | ✓ | ✓ |
113+
| Multi-provider (TF, CFN, Pulumi) | — | ✓ | ✓ | ✓ | ✓ |
114+
| Team collaboration / shared reports | — | — | — | ✓ | ✓ |
115+
| Slack / webhook alerts | — | — | — | ✓ | ✓ |
116+
| Compliance reports | — | — | — | — | ✓ |
117+
| RBAC | — | — | — | — | ✓ |
118+
| SSO / SAML / OIDC | — | — | — | — | ✓ |
119+
| Priority support | Community | 24h | 24h | 8h | Dedicated |
110120

111121
---
112122

src/deploydiff.egg-info/SOURCES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
LICENSE
12
README.md
23
pyproject.toml
34
src/deploydiff/__init__.py

src/deploydiff.egg-info/requires.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
click>=8.1
22
rich>=13.0
33
pyyaml>=6.0
4+
revenueholdings-license>=0.1.0
45

56
[dev]
67
pytest>=7.0
96 Bytes
Binary file not shown.
96 Bytes
Binary file not shown.
91 Bytes
Binary file not shown.

src/deploydiff/cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
@click.version_option(package_name="deploydiff")
2121
def main():
2222
"""DeployDiff - Preview infrastructure changes with cost impact and rollback."""
23+
from revenueholdings_license import require_license
24+
require_license("deploydiff")
2325
pass
2426

2527

-12 Bytes
Binary file not shown.
-12 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)