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

Doc formatting for rad_group_switch synopsis text #7962

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pkg/cli/cmd/group/groupswitch/switch.go
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should also be tested locally to see how it looks.

Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ func NewCommand(factory framework.Factory) (*cobra.Command, framework.Runner) {
Short: "Switch default resource group scope",
Long: `Switch default resource group scope

Radius workspaces contain a resource group scope, where Radius Applications and resources are deployed by default. The switch command changes the default scope of the workspace to the specified resource group name.
Resource groups are used to organize and manage Radius resources. They often contain resources that share a common lifecycle or unit of deployment.
Note that these resource groups are separate from the Azure cloud provider and Azure resource groups configured with the cloud provider.`,
Radius workspaces contain a resource group scope, where Radius Applications and resources are deployed by default. The switch command changes the default scope of the workspace to the specified resource group name.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The formatting for other commands is similar to the current version of this (example). Is it broken for those as well?


Resource groups are used to organize and manage Radius resources. They often contain resources that share a common lifecycle or unit of deployment.

Note that these resource groups are separate from the Azure cloud provider and Azure resource groups configured with the cloud provider.`,
Example: `rad group switch rgprod -w wsprod`,
Args: cobra.MaximumNArgs(1),
RunE: framework.RunCommand(runner),
Expand Down