diff --git a/pkg/cmd/create/doc.md b/pkg/cmd/create/doc.md index fb97a991..1f34a2d0 100644 --- a/pkg/cmd/create/doc.md +++ b/pkg/cmd/create/doc.md @@ -53,10 +53,10 @@ you can safely ctrl+c to exit ⣽ workspace is deploying your workspace is ready! -connect to the workspace: - brev open foo # brev open -> open workspace in preferred editor - brev shell foo # brev shell -> ssh into workspace (shortcut) - ssh foo-8j4u # ssh -> ssh directly to workspace +connect to the instance: + brev open foo # brev open -> open instance in preferred editor + brev shell foo # brev shell -> ssh into instance (shortcut) + ssh foo-8j4u # ssh -> ssh directly to instance ``` @@ -79,10 +79,10 @@ you can safely ctrl+c to exit ⣽ workspace is deploying your workspace is ready! -connect to the workspace: - brev open foo # brev open -> open workspace in preferred editor - brev shell foo # brev shell -> ssh into workspace (shortcut) - ssh foo-8j4u # ssh -> ssh directly to workspace +connect to the instance: + brev open foo # brev open -> open instance in preferred editor + brev shell foo # brev shell -> ssh into instance (shortcut) + ssh foo-8j4u # ssh -> ssh directly to instance ``` @@ -136,10 +136,10 @@ You can safely ctrl+c to exit ⡿ workspace is deploying Your workspace is ready! -Connect to the workspace: - brev open merge-json # brev open -> open workspace in preferred editor - brev shell merge-json # brev shell -> ssh into workspace (shortcut) - ssh merge-json-wd6q # ssh -> ssh directly to workspace +Connect to the instance: + brev open merge-json # brev open -> open instance in preferred editor + brev shell merge-json # brev shell -> ssh into instance (shortcut) + ssh merge-json-wd6q # ssh -> ssh directly to instance ``` ### Create a workspace from a git repository @@ -161,10 +161,10 @@ You can safely ctrl+c to exit ⣾ workspace is deploying Your workspace is ready! -Connect to the workspace: - brev open react-starter-app # brev open -> open workspace in preferred editor - brev shell react-starter-app # brev shell -> ssh into workspace (shortcut) - ssh react-starter-app-8v8p # ssh -> ssh directly to workspace +Connect to the instance: + brev open react-starter-app # brev open -> open instance in preferred editor + brev shell react-starter-app # brev shell -> ssh into instance (shortcut) + ssh react-starter-app-8v8p # ssh -> ssh directly to instance ``` @@ -184,10 +184,10 @@ You have 1 workspace in Org brev.dev NAME STATUS URL ID brev-cli RUNNING brev-cli-p09m-brevdev.wgt-us-west-2-test.brev.dev x1yxqp09m -Connect to running workspace: - brev open brev-cli # brev open -> open workspace in preferred editor - brev shell brev-cli # brev shell -> ssh into workspace (shortcut) - ssh brev-cli-p09m # ssh -> ssh directly to workspace +Connect to running instance: + brev open brev-cli # brev open -> open instance in preferred editor + brev shell brev-cli # brev shell -> ssh into instance (shortcut) + ssh brev-cli-p09m # ssh -> ssh directly to instance 7 other projects in Org brev.dev NAME MEMBERS @@ -221,10 +221,10 @@ template 4nbb4lg2s ubuntu resource class 2x8 workspace group brev-test-brevtenant-cluster You can safely ctrl+c to exit -⣟ workspace is deploying Connect to the workspace: - brev open new-docs # brev open -> open workspace in preferred editor - brev shell new-docs # brev shell -> ssh into workspace (shortcut) - ssh new-docs-pek9 # ssh -> ssh directly to workspace +⣟ workspace is deploying Connect to the instance: + brev open new-docs # brev open -> open instance in preferred editor + brev shell new-docs # brev shell -> ssh into instance (shortcut) + ssh new-docs-pek9 # ssh -> ssh directly to instance ``` ### Start a stopped workspace @@ -245,10 +245,10 @@ You have 1 workspace in Org brev.dev NAME STATUS URL ID linear-client STOPPED linear-client-yw1a-brevdev.wgt-us-west-2-test.brev.dev gov5jyw1a -Connect to running workspace: - brev open linear-client # brev open -> open workspace in preferred editor - brev shell linear-client # brev shell -> ssh into workspace (shortcut) - ssh linear-client-yw1a # ssh -> ssh directly to workspace +Connect to running instance: + brev open linear-client # brev open -> open instance in preferred editor + brev shell linear-client # brev shell -> ssh into instance (shortcut) + ssh linear-client-yw1a # ssh -> ssh directly to instance ``` diff --git a/pkg/cmd/open/open.go b/pkg/cmd/open/open.go index 5c0ce4fa..567afafb 100644 --- a/pkg/cmd/open/open.go +++ b/pkg/cmd/open/open.go @@ -35,8 +35,8 @@ const ( ) var ( - openLong = "[command in beta] This will open VS Code or Cursor SSH-ed in to your workspace. You must have the editor installed in your path." - openExample = "brev open workspace_id_or_name\nbrev open my-app\nbrev open my-app code\nbrev open my-app cursor\nbrev open --set-default cursor" + openLong = "[command in beta] This will open VS Code or Cursor SSH-ed in to your instance. You must have the editor installed in your path." + openExample = "brev open instance_id_or_name\nbrev open my-instance\nbrev open my-instance code\nbrev open my-instance cursor\nbrev open --set-default cursor" ) type OpenStore interface { @@ -62,7 +62,7 @@ func NewCmdOpen(t *terminal.Terminal, store OpenStore, noLoginStartStore OpenSto Annotations: map[string]string{"ssh": ""}, Use: "open", DisableFlagsInUseLine: true, - Short: "[beta] open VSCode or Cursor to your workspace", + Short: "[beta] open VSCode or Cursor to your instance", Long: openLong, Example: openExample, Args: cmderrors.TransformToValidationError(func(cmd *cobra.Command, args []string) error { diff --git a/pkg/cmd/shell/shell.go b/pkg/cmd/shell/shell.go index b23dc114..c1bc39e5 100644 --- a/pkg/cmd/shell/shell.go +++ b/pkg/cmd/shell/shell.go @@ -25,8 +25,8 @@ import ( ) var ( - openLong = "[command in beta] This will shell in to your workspace" - openExample = "brev shell workspace_id_or_name\nbrev shell my-app\nbrev open h9fp5vxwe" + openLong = "[command in beta] This will shell in to your instance" + openExample = "brev shell instance_id_or_name\nbrev shell my-instance\nbrev open h9fp5vxwe" ) type ShellStore interface { diff --git a/pkg/cmd/start/doc.md b/pkg/cmd/start/doc.md index fb97a991..1f34a2d0 100644 --- a/pkg/cmd/start/doc.md +++ b/pkg/cmd/start/doc.md @@ -53,10 +53,10 @@ you can safely ctrl+c to exit ⣽ workspace is deploying your workspace is ready! -connect to the workspace: - brev open foo # brev open -> open workspace in preferred editor - brev shell foo # brev shell -> ssh into workspace (shortcut) - ssh foo-8j4u # ssh -> ssh directly to workspace +connect to the instance: + brev open foo # brev open -> open instance in preferred editor + brev shell foo # brev shell -> ssh into instance (shortcut) + ssh foo-8j4u # ssh -> ssh directly to instance ``` @@ -79,10 +79,10 @@ you can safely ctrl+c to exit ⣽ workspace is deploying your workspace is ready! -connect to the workspace: - brev open foo # brev open -> open workspace in preferred editor - brev shell foo # brev shell -> ssh into workspace (shortcut) - ssh foo-8j4u # ssh -> ssh directly to workspace +connect to the instance: + brev open foo # brev open -> open instance in preferred editor + brev shell foo # brev shell -> ssh into instance (shortcut) + ssh foo-8j4u # ssh -> ssh directly to instance ``` @@ -136,10 +136,10 @@ You can safely ctrl+c to exit ⡿ workspace is deploying Your workspace is ready! -Connect to the workspace: - brev open merge-json # brev open -> open workspace in preferred editor - brev shell merge-json # brev shell -> ssh into workspace (shortcut) - ssh merge-json-wd6q # ssh -> ssh directly to workspace +Connect to the instance: + brev open merge-json # brev open -> open instance in preferred editor + brev shell merge-json # brev shell -> ssh into instance (shortcut) + ssh merge-json-wd6q # ssh -> ssh directly to instance ``` ### Create a workspace from a git repository @@ -161,10 +161,10 @@ You can safely ctrl+c to exit ⣾ workspace is deploying Your workspace is ready! -Connect to the workspace: - brev open react-starter-app # brev open -> open workspace in preferred editor - brev shell react-starter-app # brev shell -> ssh into workspace (shortcut) - ssh react-starter-app-8v8p # ssh -> ssh directly to workspace +Connect to the instance: + brev open react-starter-app # brev open -> open instance in preferred editor + brev shell react-starter-app # brev shell -> ssh into instance (shortcut) + ssh react-starter-app-8v8p # ssh -> ssh directly to instance ``` @@ -184,10 +184,10 @@ You have 1 workspace in Org brev.dev NAME STATUS URL ID brev-cli RUNNING brev-cli-p09m-brevdev.wgt-us-west-2-test.brev.dev x1yxqp09m -Connect to running workspace: - brev open brev-cli # brev open -> open workspace in preferred editor - brev shell brev-cli # brev shell -> ssh into workspace (shortcut) - ssh brev-cli-p09m # ssh -> ssh directly to workspace +Connect to running instance: + brev open brev-cli # brev open -> open instance in preferred editor + brev shell brev-cli # brev shell -> ssh into instance (shortcut) + ssh brev-cli-p09m # ssh -> ssh directly to instance 7 other projects in Org brev.dev NAME MEMBERS @@ -221,10 +221,10 @@ template 4nbb4lg2s ubuntu resource class 2x8 workspace group brev-test-brevtenant-cluster You can safely ctrl+c to exit -⣟ workspace is deploying Connect to the workspace: - brev open new-docs # brev open -> open workspace in preferred editor - brev shell new-docs # brev shell -> ssh into workspace (shortcut) - ssh new-docs-pek9 # ssh -> ssh directly to workspace +⣟ workspace is deploying Connect to the instance: + brev open new-docs # brev open -> open instance in preferred editor + brev shell new-docs # brev shell -> ssh into instance (shortcut) + ssh new-docs-pek9 # ssh -> ssh directly to instance ``` ### Start a stopped workspace @@ -245,10 +245,10 @@ You have 1 workspace in Org brev.dev NAME STATUS URL ID linear-client STOPPED linear-client-yw1a-brevdev.wgt-us-west-2-test.brev.dev gov5jyw1a -Connect to running workspace: - brev open linear-client # brev open -> open workspace in preferred editor - brev shell linear-client # brev shell -> ssh into workspace (shortcut) - ssh linear-client-yw1a # ssh -> ssh directly to workspace +Connect to running instance: + brev open linear-client # brev open -> open instance in preferred editor + brev shell linear-client # brev shell -> ssh into instance (shortcut) + ssh linear-client-yw1a # ssh -> ssh directly to instance ``` diff --git a/pkg/cmd/status/doc.md b/pkg/cmd/status/doc.md index fb97a991..1f34a2d0 100644 --- a/pkg/cmd/status/doc.md +++ b/pkg/cmd/status/doc.md @@ -53,10 +53,10 @@ you can safely ctrl+c to exit ⣽ workspace is deploying your workspace is ready! -connect to the workspace: - brev open foo # brev open -> open workspace in preferred editor - brev shell foo # brev shell -> ssh into workspace (shortcut) - ssh foo-8j4u # ssh -> ssh directly to workspace +connect to the instance: + brev open foo # brev open -> open instance in preferred editor + brev shell foo # brev shell -> ssh into instance (shortcut) + ssh foo-8j4u # ssh -> ssh directly to instance ``` @@ -79,10 +79,10 @@ you can safely ctrl+c to exit ⣽ workspace is deploying your workspace is ready! -connect to the workspace: - brev open foo # brev open -> open workspace in preferred editor - brev shell foo # brev shell -> ssh into workspace (shortcut) - ssh foo-8j4u # ssh -> ssh directly to workspace +connect to the instance: + brev open foo # brev open -> open instance in preferred editor + brev shell foo # brev shell -> ssh into instance (shortcut) + ssh foo-8j4u # ssh -> ssh directly to instance ``` @@ -136,10 +136,10 @@ You can safely ctrl+c to exit ⡿ workspace is deploying Your workspace is ready! -Connect to the workspace: - brev open merge-json # brev open -> open workspace in preferred editor - brev shell merge-json # brev shell -> ssh into workspace (shortcut) - ssh merge-json-wd6q # ssh -> ssh directly to workspace +Connect to the instance: + brev open merge-json # brev open -> open instance in preferred editor + brev shell merge-json # brev shell -> ssh into instance (shortcut) + ssh merge-json-wd6q # ssh -> ssh directly to instance ``` ### Create a workspace from a git repository @@ -161,10 +161,10 @@ You can safely ctrl+c to exit ⣾ workspace is deploying Your workspace is ready! -Connect to the workspace: - brev open react-starter-app # brev open -> open workspace in preferred editor - brev shell react-starter-app # brev shell -> ssh into workspace (shortcut) - ssh react-starter-app-8v8p # ssh -> ssh directly to workspace +Connect to the instance: + brev open react-starter-app # brev open -> open instance in preferred editor + brev shell react-starter-app # brev shell -> ssh into instance (shortcut) + ssh react-starter-app-8v8p # ssh -> ssh directly to instance ``` @@ -184,10 +184,10 @@ You have 1 workspace in Org brev.dev NAME STATUS URL ID brev-cli RUNNING brev-cli-p09m-brevdev.wgt-us-west-2-test.brev.dev x1yxqp09m -Connect to running workspace: - brev open brev-cli # brev open -> open workspace in preferred editor - brev shell brev-cli # brev shell -> ssh into workspace (shortcut) - ssh brev-cli-p09m # ssh -> ssh directly to workspace +Connect to running instance: + brev open brev-cli # brev open -> open instance in preferred editor + brev shell brev-cli # brev shell -> ssh into instance (shortcut) + ssh brev-cli-p09m # ssh -> ssh directly to instance 7 other projects in Org brev.dev NAME MEMBERS @@ -221,10 +221,10 @@ template 4nbb4lg2s ubuntu resource class 2x8 workspace group brev-test-brevtenant-cluster You can safely ctrl+c to exit -⣟ workspace is deploying Connect to the workspace: - brev open new-docs # brev open -> open workspace in preferred editor - brev shell new-docs # brev shell -> ssh into workspace (shortcut) - ssh new-docs-pek9 # ssh -> ssh directly to workspace +⣟ workspace is deploying Connect to the instance: + brev open new-docs # brev open -> open instance in preferred editor + brev shell new-docs # brev shell -> ssh into instance (shortcut) + ssh new-docs-pek9 # ssh -> ssh directly to instance ``` ### Start a stopped workspace @@ -245,10 +245,10 @@ You have 1 workspace in Org brev.dev NAME STATUS URL ID linear-client STOPPED linear-client-yw1a-brevdev.wgt-us-west-2-test.brev.dev gov5jyw1a -Connect to running workspace: - brev open linear-client # brev open -> open workspace in preferred editor - brev shell linear-client # brev shell -> ssh into workspace (shortcut) - ssh linear-client-yw1a # ssh -> ssh directly to workspace +Connect to running instance: + brev open linear-client # brev open -> open instance in preferred editor + brev shell linear-client # brev shell -> ssh into instance (shortcut) + ssh linear-client-yw1a # ssh -> ssh directly to instance ```