Skip to content

Commit

Permalink
feat(help): Add app version as part of help message
Browse files Browse the repository at this point in the history
Easier to know what version of Ctrl-Q is used
  • Loading branch information
Göran Sander committed Dec 17, 2023
1 parent 26d36c2 commit 443bf3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ctrl-q.js
Expand Up @@ -57,7 +57,7 @@ const program = new Command();
program
.version(appVersion)
.description(
'Ctrl-Q is a command line utility for interacting with client-managed Qlik Sense Enterprise on Windows servers.\nAmong other things the tool does bulk import of apps and tasks, manipulates master items and scrambles in-app data.'
`Ctrl-Q is a command line utility for interacting with client-managed Qlik Sense Enterprise on Windows servers.\nAmong other things the tool does bulk import of apps and tasks, manipulates master items and scrambles in-app data.\n\nVersion: ${appVersion}`
)
.hook('preAction', (thisCommand, actionCommand) => {
const options = actionCommand.opts();
Expand Down

0 comments on commit 443bf3f

Please sign in to comment.