Skip to content

Add --version flag to guidellm CLI #240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Harshith-umesh
Copy link

Implements a --version flag for the GuideLLM CLI that displays the current version and exits cleanly.
The --version flag is one of the most fundamental and expected features of any CLI tool. It's typically the first flag I try when exploring a new command-line application .

Usage

guidellm --version
# Output: guidellm version: 0.3.0.dev40

The version flag also appears in help output:

guidellm --help

Testing

Wrote 7 unit tests which pass successfully:

pytest tests/unit/test_cli.py -v

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.

1 participant