guardrail-cli 1.0.0
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.
- package/LICENSE +21 -0
- package/README.md +48 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1397 -0
- package/dist/index.js.map +1 -0
- package/package.json +34 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Guardrail
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Guardrail CLI
|
|
2
|
+
|
|
3
|
+
The official command-line interface for Guardrail - AI-native code security and guardrail platform.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @guardrail/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Authenticate
|
|
15
|
+
guardrail auth --key gr_starter_your_api_key_here
|
|
16
|
+
|
|
17
|
+
# Scan your project
|
|
18
|
+
guardrail scan --path ./your-project
|
|
19
|
+
|
|
20
|
+
# Ship readiness check
|
|
21
|
+
guardrail ship --path ./your-project
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Commands
|
|
25
|
+
|
|
26
|
+
- `guardrail auth` - Authenticate with your API key
|
|
27
|
+
- `guardrail scan` - Run security scans
|
|
28
|
+
- `guardrail ship` - Ship readiness checks
|
|
29
|
+
- `guardrail reality` - Browser testing for fake data
|
|
30
|
+
- `guardrail smells` - Code smell analysis (Pro)
|
|
31
|
+
- `guardrail fix` - Manual fix suggestions (Starter+)
|
|
32
|
+
|
|
33
|
+
## Tiers
|
|
34
|
+
|
|
35
|
+
- **Free**: Basic scanning and validation
|
|
36
|
+
- **Starter** ($29/mo): Ship checks, reality mode, fix suggestions
|
|
37
|
+
- **Pro** ($99/mo): Advanced analysis, autopilot, smells detection
|
|
38
|
+
- **Enterprise** ($499/mo): Custom policies, SSO, dedicated support
|
|
39
|
+
|
|
40
|
+
## Support
|
|
41
|
+
|
|
42
|
+
- 📖 [Documentation](https://guardrail.dev/docs)
|
|
43
|
+
- 💬 [Discord](https://discord.gg/guardrail)
|
|
44
|
+
- 📧 [Support](mailto:support@guardrail.dev)
|
|
45
|
+
|
|
46
|
+
## License
|
|
47
|
+
|
|
48
|
+
MIT
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;GAIG"}
|