mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-06 01:54:43 +00:00
Improve artifact commands docs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
ac9b3d193d
commit
d4718f6ff4
4 changed files with 24 additions and 13 deletions
|
|
@ -29,8 +29,11 @@ var buildArtifactCmd = &cobra.Command{
|
|||
Use: "artifact",
|
||||
Short: "Build artifact",
|
||||
Long: `The build artifact command creates an tgz file with the manifests from the given directory.`,
|
||||
Example: `# Build the given manifests directory into an artifact
|
||||
flux build artifact --path ./path/to/local/manifests --output ./path/to/artifact.tgz
|
||||
Example: ` # Build the given manifests directory into an artifact
|
||||
flux build artifact --path ./path/to/local/manifests --output ./path/to/artifact.tgz
|
||||
|
||||
# List the files bundles in the artifact
|
||||
tar -ztvf ./path/to/artifact.tgz
|
||||
`,
|
||||
RunE: buildArtifactCmdRun,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue