diff --git a/nomad/cli/admin/run.py b/nomad/cli/admin/run.py index 8307b7476a2ff1ed47a485a9c6bf8b27cbe967ac..5e80c5de8bc04b81bcccbb83c0a1153dd86b44c7 100644 --- a/nomad/cli/admin/run.py +++ b/nomad/cli/admin/run.py @@ -35,8 +35,9 @@ def hub(): @run.command(help='Run the nomad development worker.') -def worker(): - run_worker() +@click.option('--workers', type=int, default=None, help='Number of celery workers.') +def worker(**kwargs): + run_worker(**kwargs) @run.command(help='Run the nomad development app with all apis.')