diff --git a/cli/README.md b/cli/README.md index c012d14d..8a186588 100644 --- a/cli/README.md +++ b/cli/README.md @@ -1,7 +1,13 @@ -# dcs-cli +# deploy-code-server cli Provision a code-server instance from your terminal. +## Instructions + +```sh +npx @coder/deploy-code-server +``` + ## Development ```console @@ -10,5 +16,6 @@ cd deploy-code-server/cli npm install && npm run build:watch # in another session: -node bin/index.js +cd deploy-code-server/cli +node bin/src/index.js ``` diff --git a/cli/src/deploys/deployDigitalOcean.ts b/cli/src/deploys/deployDigitalOcean.ts index 06bb03a7..6854dacd 100644 --- a/cli/src/deploys/deployDigitalOcean.ts +++ b/cli/src/deploys/deployDigitalOcean.ts @@ -90,9 +90,15 @@ const waitUntilCodeServerIsLive = (droplet: Droplet, token: string) => { export const deployDigitalOcean = async () => { let spinner: ora.Ora; + console.log( + chalk.yellow( + "Using provider: DigitalOcean", + ) + ); + console.log( chalk.blue( - "You can create a token on", + "Don't have a token? Create one at", chalk.bold("https://cloud.digitalocean.com/account/api/tokens") ) );