Skip to content

TN-7814: Replace option --version with --packageVersion due to existing --version option for content-cli#279

Merged
Fati Marmullaku (fatimarmullaku) merged 1 commit into
masterfrom
fatimarmullaku/feat/TN-7814-rename-version-to-packageVersion
Nov 12, 2025
Merged

TN-7814: Replace option --version with --packageVersion due to existing --version option for content-cli#279
Fati Marmullaku (fatimarmullaku) merged 1 commit into
masterfrom
fatimarmullaku/feat/TN-7814-rename-version-to-packageVersion

Conversation

@fatimarmullaku

@fatimarmullaku Fati Marmullaku (fatimarmullaku) commented Nov 11, 2025

Copy link
Copy Markdown
Contributor

Description

This PR changes the existing --version option in the get command with --packageVersion to avoid collision with existing --version command of content-cli which returns the version of the CLI.

While the following call pattern works -> --version=1.0.2, the other pattern (without the assignment) --version 1.0.2 does not work because it falls back to the original --version command.

Relevant links

Checklist

  • I have self-reviewed this PR
  • I have tested the change and proved that it works in different scenarios
  • I have updated docs if needed

…due to its collision with content-cli --version
@fatimarmullaku Fati Marmullaku (fatimarmullaku) merged commit 1a60541 into master Nov 12, 2025
1 check passed
@fatimarmullaku Fati Marmullaku (fatimarmullaku) deleted the fatimarmullaku/feat/TN-7814-rename-version-to-packageVersion branch November 12, 2025 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants