the-library-code / dspace-rest-python

DSpace REST API Client Library
BSD 3-Clause "New" or "Revised" License
24 stars 19 forks source link

DSpace client CLI interface #2

Open tomdesair opened 2 years ago

tomdesair commented 2 years ago

We can add some CLI commands to the DSpace Python client that make it easier to explore and manipulate a DSpace repository via CLI or bash scripts. The initial idea here is to offer similar functionality like the kubectl command to explore a Kubernetes cluster. Some examples of how it could look like:

Of course any of the underlying command implementation can be imported into other Python scripts as well.

I just wrote down things that popped up in my mind. Feel free to add or enhance commands.

kshepherd commented 2 years ago

great idea - the origin of the library was for a single batch operation but we can definitely allow one off CLI commands, even an interactive console perhaps?