Is your feature request related to a problem? Please describe.
When datumaro is installed without CLI support, the CLI can still be called, but throws a sort of import error, caused by lazy_import, see #2037
Describe the solution you'd like to propose.
When datumaro is installed without cli support, the cli should not be installed/callable at all. Alternatively, we can throw a user friendly error, describing datumaro has not been installed with the correct dependencies and pip install datumaro[cli] will resolve the problem.
Describe alternatives you've considered
Additional context
Is your feature request related to a problem? Please describe.
When datumaro is installed without CLI support, the CLI can still be called, but throws a sort of import error, caused by
lazy_import, see #2037Describe the solution you'd like to propose.
When datumaro is installed without cli support, the cli should not be installed/callable at all. Alternatively, we can throw a user friendly error, describing datumaro has not been installed with the correct dependencies and
pip install datumaro[cli]will resolve the problem.Describe alternatives you've considered
Additional context