[Misc] Refactor cta-admin commands by extracting common functionality into base classes
Description
This commit refactors the cta-admin command implementations to make them more modular and reusable by the gRPC implementation.
Checklist
-
Documentation reflects the changes made. -
Merge Request title is clear, concise, and suitable as a changelog entry. See our contributing docs
References
Closes #1284 (closed)
Edited by Konstantina Skovola