[NPMCLI-165] Backport the -v option to CLIv2 Created: 19/Feb/18  Updated: 20/Jun/19  Resolved: 20/Jun/19

Status: Closed
Project: Magnolia CLI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Martin DrĂ¡pela Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to NPMCLI-133 Improve the version command Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

Backport NPMCLI-133 to the CLIv2 branch so that

mgnl -v

also produces something like

Magnolia CLI: 2.3.0 (node.js: v8.9.4)

instead of

error: unknown option '-v' 

Generated at Mon Feb 12 04:47:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.