Refactoring: introduce cli package

parent 72354611
Pipeline #102080 failed with stages
in 4 minutes and 51 seconds