1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Improve artifact commands docs

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2022-08-09 13:27:45 +03:00
parent ac9b3d193d
commit d4718f6ff4
4 changed files with 24 additions and 13 deletions

View File

@@ -31,9 +31,9 @@ var listArtifactsCmd = &cobra.Command{
Use: "artifacts",
Short: "list artifacts",
Long: `The list command fetches the tags and their metadata from a remote OCI repository.
The list command uses the credentials from '~/.docker/config.json'.`,
Example: `# list the artifacts stored in an OCI repository
flux list artifact oci://ghcr.io/org/manifests/app
The command uses the credentials from '~/.docker/config.json'.`,
Example: ` # List the artifacts stored in an OCI repository
flux list artifact oci://ghcr.io/org/config/app
`,
RunE: listArtifactsCmdRun,
}