Skip to content

Commit

Permalink
update readme (#393)
Browse files Browse the repository at this point in the history
* update readme

Signed-off-by: adisos <[email protected]>
  • Loading branch information
adisos authored Aug 11, 2024
1 parent b2ace25 commit 3504e7d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,19 @@ Examples:
k8snetpolicy list -k ./kube/config
Flags:
--exposure Enhance the analysis of permitted connectivity with exposure analysis
-f, --file string Write output to specified file
--focusworkload Focus connections of specified workload in the output (supported formats: <workload-name>, <workload-namespace>/<workload-name>)
(to focus connections from Ingress/Route only, use `ingress-controller` as <workload-name>)
-o, --output string Required output format (txt, json, dot, csv, md) (default "txt")
-h, --help help for list
--focusworkload string Focus connections of specified workload in the output (<workload-name> or <workload-namespace/workload-name>)
-h, --help help for list
-o, --output string Required output format (txt,json,dot,csv,md) (default "txt")
Global Flags:
-c, --context string Kubernetes context to use when evaluating connections in a live cluster
--dirpath string Resources dir path when evaluating connections from a dir
--exposure Enhance the analysis of permitted connectivity with exposure analysis
--fail fail on the first encountered error
--include-json consider JSON manifests (in addition to YAML) when analyzing from dir
-k, --kubeconfig string Path and file to use for kubeconfig when evaluating connections in a live cluster
-q, --quiet Runs quietly, reports only severe errors and results
-v, --verbose Runs with more informative messages printed to log
-q, --quiet runs quietly, reports only severe errors and results
-v, --verbose runs with more informative messages printed to log
```

### Diff command
Expand Down

0 comments on commit 3504e7d

Please sign in to comment.