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 d1919fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ dmypy.json
.pyre/

# Mac OS X
.DS_Store
.DS_Store
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 d1919fc

Please sign in to comment.