HomeSoftware Heritage

cli: speedup the `swh` cli command startup time

Description

cli: speedup the swh cli command startup time

by moving import statements in functions, as well as preventing
the loading of swh.storage.interface in swh.storage unless needed
for type checking.

Related to T2575.