From e8dc67ff6e0a4803766445d109032872d8b604a0 Mon Sep 17 00:00:00 2001 From: Mark Milligan Date: Wed, 19 Apr 2023 22:32:11 +0000 Subject: [PATCH 1/4] docs: explicitly point out the CLI is for Coder v1 and a link to v2 --- cli/index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cli/index.md b/cli/index.md index 4afbe847..9e4b97b9 100644 --- a/cli/index.md +++ b/cli/index.md @@ -3,6 +3,12 @@ Coder provides a CLI that allows you to interact with your workspaces using your local machine. +
+

+ This document refers to the Coder v1 CLI. If you landed on this page by mistake or are looking for the Coder v2 CLI, view the docs on how to install the Coder v2 CLI. The Coder v1 CLI will not work with a Coder v2 deployment. +

+
+ ## Full CLI reference From 053ba63fd580196eb4e57ffa913ff6e696245dbe Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 20 Apr 2023 00:07:23 +0000 Subject: [PATCH 2/4] fix: lint --- cli/index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cli/index.md b/cli/index.md index 9e4b97b9..f8814bf7 100644 --- a/cli/index.md +++ b/cli/index.md @@ -5,7 +5,10 @@ local machine.

- This document refers to the Coder v1 CLI. If you landed on this page by mistake or are looking for the Coder v2 CLI, view the docs on how to install the Coder v2 CLI. The Coder v1 CLI will not work with a Coder v2 deployment. + This document refers to the Coder v1 CLI. If you landed on this page by mistake + or are looking for the Coder v2 CLI, [view the docs on how to install the + Coder v2 CLI](https://coder.com/docs/v2/latest/templates#get-the-cli). The Coder + v1 CLI will not work with a Coder v2 deployment.

From e88a04d89f371d936677384724251f68ff115e06 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 20 Apr 2023 12:42:05 +0000 Subject: [PATCH 3/4] Revert "fix: lint" This reverts commit 053ba63fd580196eb4e57ffa913ff6e696245dbe. --- cli/index.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cli/index.md b/cli/index.md index f8814bf7..9e4b97b9 100644 --- a/cli/index.md +++ b/cli/index.md @@ -5,10 +5,7 @@ local machine.

- This document refers to the Coder v1 CLI. If you landed on this page by mistake - or are looking for the Coder v2 CLI, [view the docs on how to install the - Coder v2 CLI](https://coder.com/docs/v2/latest/templates#get-the-cli). The Coder - v1 CLI will not work with a Coder v2 deployment. + This document refers to the Coder v1 CLI. If you landed on this page by mistake or are looking for the Coder v2 CLI, view the docs on how to install the Coder v2 CLI. The Coder v1 CLI will not work with a Coder v2 deployment.

From c864f9d6a7506eb0a86d9cfbdda6fb8670abfeea Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 20 Apr 2023 12:44:10 +0000 Subject: [PATCH 4/4] fix: lint --- cli/index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cli/index.md b/cli/index.md index 9e4b97b9..c35b6a13 100644 --- a/cli/index.md +++ b/cli/index.md @@ -5,7 +5,11 @@ local machine.

- This document refers to the Coder v1 CLI. If you landed on this page by mistake or are looking for the Coder v2 CLI, view the docs on how to install the Coder v2 CLI. The Coder v1 CLI will not work with a Coder v2 deployment. + This document refers to the Coder v1 CLI. If you landed on this page by mistake + or are looking for the Coder v2 CLI, view + the docs on + how to install the Coder v2 CLI. The Coder v1 CLI will not work with a + Coder v2 deployment.