Skip to content

add a CLI #16

@bpmct

Description

@bpmct

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions