Quansight / lsst_dashboard

LSST Dashboard https://quansight.github.io/lsst_dashboard/
BSD 3-Clause "New" or "Revised" License
8 stars 3 forks source link

Integrate click #148

Closed dharhas closed 4 years ago

dharhas commented 4 years ago

Makes lsst_data_explorer a proper cli command with help, options to choose slurm queue and number of nodes as well as to run on head node (via localcluster)

$ lsst_data_explorer --help
Usage: lsst_data_explorer [OPTIONS]

Options:
  --queue TEXT     Slurm Queue to use (default=debug), ignored when on local
                   machine
  --nodes INTEGER  Number of compute nodes to launch (default=2), ignored when
                   on local machine
  --localcluster   Launches a localcluster instead of slurmcluster
  --help           Show this message and exit.