Skip to content

Commit

Permalink
Docs(api): updated README and added more info on api
Browse files Browse the repository at this point in the history
  • Loading branch information
Petzys committed Sep 17, 2024
1 parent 1ca76d5 commit 8400ee5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ Available Commands:
dir Analyze cryptographic assets in a directory
help Help about any command
image Analyze cryptographic assets in a container image
server Start a server (port: 8080, see openapi.yaml)
Flags:
-b, --bom string BOM file to be verified and enriched
Expand Down Expand Up @@ -113,7 +114,10 @@ Server: Docker Engine - Community

```shell
docker build -t cbomkit-theia .
# CLI
docker run cbomkit-theia [command] > enriched_CBOM.json
# Server
docker run -d -p 8080:8080 cbomkit-theia
```

### Compiled
Expand Down
2 changes: 1 addition & 1 deletion cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

var serverCmd = &cobra.Command{
Use: "server",
Short: "Start a server",
Short: "Start a server (port: 8080, see openapi.yaml)",
Run: func(cmd *cobra.Command, args []string) {
server.Serve()
},
Expand Down

0 comments on commit 8400ee5

Please sign in to comment.