HomeSoftware Heritage

Move the scheduler verification from the main cli group definition to…

Description

Move the scheduler verification from the main cli group definition to subcommands

since it's actually the responsibility of each subcommand to decide whether it
can run without a properly configured scheduler instance.

This is also required so the user can run:

swh-scheduler subcommand --help

even with a non-properly configured scheduler.

Details

Provenance
douarddaAuthored on Jan 7 2019, 2:19 PM
douarddaPushed on Jan 10 2019, 3:53 PM
Differential Revision
D887: Improve cli and add 3 commands
Parents
rDSCHdf075ba86359: Add 3 cli commands: runner, listener and api-server
Branches
Unknown
Tags
Unknown
Build Status
Buildable 3367
Build 4342: test-and-build