From 2181ab639e8070dccfaf7dc0876963b7f00599fa Mon Sep 17 00:00:00 2001 From: Cameron Lloyd Date: Sat, 25 Oct 2025 18:19:01 +0100 Subject: [PATCH] Add `--version` option --- celltypist/command_line.py | 1 + 1 file changed, 1 insertion(+) diff --git a/celltypist/command_line.py b/celltypist/command_line.py index e48d64a..407abf3 100644 --- a/celltypist/command_line.py +++ b/celltypist/command_line.py @@ -48,6 +48,7 @@ def show_help_and_exit(message: str): @click.option("--update-models", is_flag=True, default=False, help="Download the latest models from the remote server.") @click.option("--show-models", is_flag=True, default=False, help="Show all the available models and their descriptions.") @click.option("--quiet", is_flag=True, default=False, help="Hide the banner and configuration information during the run.") +@click.version_option() def main(indata: str, model: str, transpose_input: bool, gene_file: str, cell_file: str, mode: str, p_thres: float, majority_voting: bool, over_clustering: str, use_GPU: bool, min_prop: float, outdir: str, prefix: str, xlsx: bool, plot_results: bool, update_models: bool, show_models: bool, quiet: bool): """Celltypist: a tool for semi-automatic cell type annotation"""