Skip to content

Commit

Permalink
feat: ✨ simple maestro version command added for quick run check
Browse files Browse the repository at this point in the history
Signed-off-by: Onuralp SEZER <[email protected]>
  • Loading branch information
onuralpszr committed Sep 15, 2024
1 parent 08ce3d4 commit 5183d76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions maestro/cli/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import typer

from maestro.cli.introspection import find_training_recipes
from maestro import __version__

app = typer.Typer()
find_training_recipes(app=app)
Expand All @@ -10,6 +11,9 @@
def info():
typer.echo("Welcome to maestro CLI. Let's train some VLM! 🏋")

@app.command(help="Display version of maestro")
def version():
typer.echo(f"Maestro version: {__version__}")

if __name__ == "__main__":
app()

0 comments on commit 5183d76

Please sign in to comment.