From bb83bef3663ef5cf9dc91ad80d1f742d2fdabf42 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Fri, 8 Mar 2024 14:35:45 +0100
Subject: [PATCH] add help arg

---
 bioflow_insight_cli/main.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bioflow_insight_cli/main.py b/bioflow_insight_cli/main.py
index ff5e493..1e0357e 100644
--- a/bioflow_insight_cli/main.py
+++ b/bioflow_insight_cli/main.py
@@ -1,9 +1,11 @@
 import click
 
+import src as bioflow_insight_src
 from src.workflow import Workflow
 
 
 @click.command()
+@click.version_option(bioflow_insight_src.__version__)
 @click.argument('main_workflow_path')
 #@click.option('--author', 'author', required=False, help='Author name, extracted otherwise')
 @click.option('--name', 'name', required=False, help='Workflow name, extracted otherwise')
-- 
GitLab