summaryrefslogtreecommitdiffstats
path: root/cmd/crane/doc/crane_version.md
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/crane/doc/crane_version.md')
-rw-r--r--cmd/crane/doc/crane_version.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/cmd/crane/doc/crane_version.md b/cmd/crane/doc/crane_version.md
new file mode 100644
index 0000000..0972792
--- /dev/null
+++ b/cmd/crane/doc/crane_version.md
@@ -0,0 +1,34 @@
+## crane version
+
+Print the version
+
+### Synopsis
+
+The version string is completely dependent on how the binary was built, so you should not depend on the version format. It may change without notice.
+
+This could be an arbitrary string, if specified via -ldflags.
+This could also be the go module version, if built with go modules (often "(devel)").
+
+```
+crane version [flags]
+```
+
+### Options
+
+```
+ -h, --help help for version
+```
+
+### Options inherited from parent commands
+
+```
+ --allow-nondistributable-artifacts Allow pushing non-distributable (foreign) layers
+ --insecure Allow image references to be fetched without TLS
+ --platform platform Specifies the platform in the form os/arch[/variant][:osversion] (e.g. linux/amd64). (default all)
+ -v, --verbose Enable debug logs
+```
+
+### SEE ALSO
+
+* [crane](crane.md) - Crane is a tool for managing container images
+