-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Description
Currently, there is no straightforward way to check the version of the CLI tool from the command line.
neon@neon:~/Downloads/terminal/dnstt/bin$ ./dnstt --version 2>&1 | head -n 1
flag provided but not defined: -version
neon@neon:~/Downloads/terminal/dnstt/bin$ ./dnstt -v 2>&1 | head -n 1
flag provided but not defined: -vExpected Behavior
It would be helpful to support a standard flag such as:
--version-v
These flags should print the current version of the tool and exit.
Why this is useful
- Aligns with common CLI conventions
- Helps with debugging and reporting issues
- Improves usability for users and developers
Example
$ dnstt --version
dnstt 1.2.3
Additional Context
Many CLI tools follow this convention, so adding it would improve consistency and user experience.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels