Page MenuHomeSoftware Heritage

cli: add a 'storage' cli group with a 'serve' subcommand

Authored by douardda on May 15 2019, 5:13 PM.



we do add this 'storage' group even if it contains only one subcommand
(serve) for UI consistency:

swh storage server

is a more understandable command than just 'swh storage' to start the
http server.

We do keep the main swh-storage console_script entry point as is for
bw compat, however.

Related to T1671.

Diff Detail

rDSTO Storage manager
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.May 15 2019, 5:13 PM
ardumont accepted this revision.May 16 2019, 4:20 PM
This revision is now accepted and ready to land.May 16 2019, 4:20 PM
douardda updated this revision to Diff 4855.May 16 2019, 5:05 PM

rename the 'serve' subcommand as 'rpc-serve'

This revision was landed with ongoing or failed builds.May 16 2019, 5:29 PM
This revision was automatically updated to reflect the committed changes.