Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a CLI #16

Open
bpmct opened this issue Apr 7, 2021 · 2 comments
Open

add a CLI #16

bpmct opened this issue Apr 7, 2021 · 2 comments

Comments

@bpmct
Copy link
Member

bpmct commented Apr 7, 2021

Create a command-line tool for configuring & deploying code-server instances to the cloud. This aims to solve two problem:

  1. creating a new dev cloud environment is repetitive
  2. creating test environments for code-server (for testing issues) can be difficult - @jsjoeio's idea 💡

This will be good for creating consistent dev workspaces or test environments for code-server. For example

# launch an ubuntu server with nginx
$ lcs --ubuntu nginx
Creating...
Access your server at https://x.x.x.x:80
Password: asd832sd

# launch a blank ubuntu server and get SSH access
$ lcs --ubuntu blank
...

# launch an ubuntu server configured with code-server --link and 2 GB memory
$ lcs ubuntu --link --mem 2
...

# launch with custom Dockerfile
$ lsc ubuntu --link --dockerfile python/Dockerfile

I am planning on supporting this with the Vultr because of their developer-friendly API.

@jsjoeio
Copy link
Contributor

jsjoeio commented Apr 12, 2021

Love the sound of this! The environments that I see often:

  • nginx
  • Docker
  • Railway

Those seem to be the most common. I think that's a great starting point.

@bpmct
Copy link
Member Author

bpmct commented Apr 12, 2021

potentially do this in rust? https://egghead.io/courses/creating-a-digital-garden-cli-with-rust-34b8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants