Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,12 @@ info: Deployed: true
info: Published By: user@example.com
```

Note: You can also use `LATEST` instead of a specific version to get the most recently created version:
```
content-cli config versions get --packageKey my-package --packageVersion LATEST
```


##### Export version metadata as JSON

To export the version metadata as a JSON file instead of displaying it in the console, use the `--json` option:
Expand Down
2 changes: 1 addition & 1 deletion src/commands/configuration-management/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Module extends IModule {
configVersionCommand.command("get")
.description("Get version metadata for a specific package version")
.requiredOption("--packageKey <packageKey>", "Identifier of the package")
.requiredOption("--packageVersion <packageVersion>", "Version of the package")
.requiredOption("--packageVersion <packageVersion>", "Version of the package. Can be a specific version or \"LATEST\" keyword, which will return the most recently created version.")
.option("--json", "Return the response as a JSON file")
.action(this.getPackageVersion)

Expand Down
Loading