o2r-project / erc-spec

Executable Research Compendium specification and guides
https://o2r.info/erc-spec/
Creative Commons Zero v1.0 Universal
7 stars 5 forks source link

CLI tool #8

Open nuest opened 7 years ago

nuest commented 7 years ago

Create a tool that allows to run an ERC from a command-line interface:

erc create /directory /erc-dir
erc package /erc-dir my_research.zip
erc reproduce my_research.zip

Do it with golang :-).

edzer commented 7 years ago

Will this CL tool call the microservices?

nuest commented 7 years ago

No, it would be called by the microservices when a new ERC is created. But I am open to use cases where it is the other way around.

nuest commented 7 years ago

Sorry @edzer, I completely mixed up the repositories here, In my head I was thinking about https://github.com/o2r-project/containerit/issues/12

So while my comment above is false, the CLI tool I mention here would still not call the microservices but re-create their functionality "offline". Such a CLI tool could be used by microservices offering a web API so functions are not implemented twice.

Hope this clarifies!