Skip to content

Conversation

@grace-rehn
Copy link
Contributor

@grace-rehn grace-rehn commented Nov 18, 2024

Updates the CLI to include IS DISABLED field in the table for octopus tenant list and octopus tenant view commands.

Adds the octopus tenant enable and octopus tenant disable commands.

#project-disabling-tenants

[sc-96619]

image

image

image

if err != nil {
return err
}
selectedTenant, err := selectors.ByName(opts.Ask, existingTenants, "Select the tenant you wish to enable:")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
selectedTenant, err := selectors.ByName(opts.Ask, existingTenants, "Select the tenant you wish to enable:")
selectedTenant, err := selectors.ByName(opts.Ask, existingTenants, "Select the tenant you wish to disable:")

Copy link
Contributor

@benPearce1 benPearce1 left a comment

Choose a reason for hiding this comment

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

Looks good.

@grace-rehn grace-rehn merged commit 44063aa into main Nov 20, 2024
3 checks passed
@grace-rehn grace-rehn deleted the grace/add-tenant-disabling branch November 20, 2024 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants