BCDA-APS / gemviz

Data visualization for tiled
https://bcda-aps.github.io/gemviz/
Other
4 stars 0 forks source link

support command-line options: help & version #155

Closed prjemian closed 1 year ago

prjemian commented 1 year ago
prjemian commented 1 year ago

@rodolakis This is ready for review.

prjemian commented 1 year ago

With no options, runs as usual:

(tiled) prjemian@arf:~/.../BCDA-APS/gemviz$ gemviz

Ask for help:

(tiled) prjemian@arf:~/.../BCDA-APS/gemviz$ gemviz -h
usage: gemviz [-h] [-v]

gemviz: Python Qt5 application to visualize Bluesky data from tiled server.

options:
  -h, --help     show this help message and exit
  -v, --version  show program's version number and exit

Just show the version:

(tiled) prjemian@arf:~/.../BCDA-APS/gemviz$ gemviz -v
0.0.2.dev134+g387fb55