Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Rest API wrapper for the cli #384

Closed
mohamedrez opened this issue Apr 22, 2017 · 3 comments
Closed

Rest API wrapper for the cli #384

mohamedrez opened this issue Apr 22, 2017 · 3 comments

Comments

@mohamedrez
Copy link

Is there an already rest api wrapper built for this cli

@jhoffner
Copy link
Member

There is not. At least not open source. We have a server that manages resources and is more complicated than a basic wrapper would need to be.

It would definitely benefit the project to have a very simple server to run the CLI. The tricky parts are that you need to manage docker containers and lifecycles, so building a simple wrapper that utilizes docker correctly is easier said than done.

@jhoffner
Copy link
Member

I think the easiest (but non-production quality at the scale that CW has to handle) solution to creating a wrapper would be to make docker calls directly using https://github.com/shelljs/shelljs. That should be pretty straightforward.

@kazk
Copy link
Member

kazk commented Oct 5, 2020

Closing because this project is no longer actively developed.

@kazk kazk closed this as completed Oct 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants