Skip to content

Commit

Permalink
docs: add clairctl's new powers to the reference
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Nov 20, 2020
1 parent 835af27 commit 425fc38
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions Documentation/reference/clairctl.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Clairctl

`clairctl` is a command line tool for working with Clair.
This CLI is capable of generating manifests from most public registries (dockerhub, quay.io, Red Hat Container Catalog) and submitting them for analysis to a running Clair.
This CLI is capable of generating manifests from most public registries
(dockerhub, quay.io, Red Hat Container Catalog) and submitting them for
analysis to a running Clair.

Note that if the Clair instance has authentication configured, the value
provided to the `issuer` flag must be on the list accepted by the server.

```
NAME:
Expand All @@ -24,9 +29,11 @@ COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
-D print debugging logs (default: false)
--help, -h show help (default: false)
--version, -v print the version (default: false)
-D print debugging logs (default: false)
--config value, -c value clair configuration file (default: "config.yaml") [$CLAIR_CONF]
--issuer value, --iss value jwt "issuer" to use when making authenticated requests (default: "clairctl")
--help, -h show help (default: false)
--version, -v print the version (default: false)
```

```
Expand Down Expand Up @@ -65,21 +72,23 @@ USAGE:
DESCRIPTION:
Run configured exporters and export to a file.
A configuration file is needed to run this command, see 'clairctl help'
for how to specify one.
OPTIONS:
--strict Return non-zero exit when updaters report errors. (default: false)
--config value, -c value clair configuration file (default: "config.yaml") [$CLAIR_CONF]
--strict Return non-zero exit when updaters report errors. (default: false)
```

```
NAME:
clairctl import-updaters - import updates
USAGE:
clairctl import-updaters [command options] in
clairctl import-updaters input...
DESCRIPTION:
Import updates from a file.
Import updates from files or HTTP URIs.
OPTIONS:
--config value, -c value clair configuration file (default: "config.yaml") [$CLAIR_CONF]
A configuration file is needed to run this command, see 'clairctl help'
for how to specify one.
```

0 comments on commit 425fc38

Please sign in to comment.