@keeper-security/rules-darwin-x64 1.5.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.md +7 -0
- package/README.md +34 -0
- package/bin/keeper-rules +0 -0
- package/package.json +16 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# License
|
|
2
|
+
|
|
3
|
+
Copyright (C) Keeper Security - All Rights Reserved
|
|
4
|
+
|
|
5
|
+
This source code is protected under international copyright law. All rights reserved and protected by the copyright holders.
|
|
6
|
+
|
|
7
|
+
This project is confidential and only available to authorized individuals with the permission of the copyright holders. If you encounter this project and do not have permission, please contact the copyright holders and delete this project.
|
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# keeper-rules CLI
|
|
2
|
+
|
|
3
|
+
Rust CLI for syncing Keeper Security AI coding rules across development environments.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
**Recommended:** `npx -y @keeper-security/rules` runs without installing. You can also `npm install -g @keeper-security/rules` to get the `keeper-rules` binary.
|
|
8
|
+
|
|
9
|
+
## Commands
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx -y @keeper-security/rules sync <name> # Sync rules to project
|
|
13
|
+
npx -y @keeper-security/rules add-product <name> # Create new product
|
|
14
|
+
npx -y @keeper-security/rules list # List products
|
|
15
|
+
npx -y @keeper-security/rules help # Show help
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Build
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
cd cli
|
|
22
|
+
task build # Binaries → dist/
|
|
23
|
+
task docker # Docker image keepersecurityinc/rules (amd64 + arm64)
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Docker
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
cd cli && task docker
|
|
30
|
+
docker run --rm keepersecurityinc/rules list
|
|
31
|
+
docker run -v ~/.gitconfig:/root/.gitconfig keepersecurityinc/rules sync default
|
|
32
|
+
# Sync into project:
|
|
33
|
+
docker run -v ~/.gitconfig:/root/.gitconfig -v $(pwd):/app -w /app keepersecurityinc/rules sync default
|
|
34
|
+
```
|
package/bin/keeper-rules
ADDED
|
Binary file
|
package/package.json
ADDED