Skip to content

Commit 31224e9

Browse files
committed
docs: fix readme, use repo license file
1 parent 3b99a28 commit 31224e9

2 files changed

Lines changed: 4 additions & 200 deletions

File tree

cli/LICENSE

Lines changed: 0 additions & 190 deletions
This file was deleted.

cli/README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,7 @@ trustify sbom duplicates delete
5555
### From Source
5656

5757
```bash
58-
# Clone the repository
59-
git clone https://github.com/guacsec/trustify-cli.git
60-
cd trustify-cli
61-
62-
# Build
63-
cargo build --release
64-
65-
# The binary will be at ./target/release/trustify
58+
cargo install --git https://github.com/guacsec/trustify.git --branch main --path cli
6659
```
6760

6861
## Configuration
@@ -78,7 +71,8 @@ TRUSTIFY_CLIENT_SECRET=my-secret
7871

7972
That's it! The CLI automatically loads credentials and handles OAuth2 token management.
8073

81-
> **Tip:** You can also use CLI arguments (`-u`, `--sso-url`, etc.) or shell environment variables. CLI args take priority over env vars, which take priority over `.env` files.
74+
> [!TIP]
75+
> You can also use CLI arguments (`-u`, `--sso-url`, etc.) or shell environment variables. CLI args take priority over env vars, which take priority over `.env` files.
8276
8377
## Commands
8478

@@ -289,4 +283,4 @@ trustify advisory prune --output results.json --quiet # Save results
289283
"failed_total": 1,
290284
"total": 3
291285
}
292-
```
286+
```

0 commit comments

Comments
 (0)