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

List sandboxes for specific realm #172

Closed
sfelius opened this issue Aug 17, 2020 · 3 comments
Closed

List sandboxes for specific realm #172

sfelius opened this issue Aug 17, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@sfelius
Copy link

sfelius commented Aug 17, 2020

Currently, when running sandbox:list a table with all sandboxes for all realms a user has access to is returned. This list can grow substantially when working with multiple customers.

It would be nice if we could add a --realm parameter that would only return a table of sandboxes for the specified realm:

sfcc-ci sandbox:list --realm bbsv

@jlbruno
Copy link
Member

jlbruno commented Sep 1, 2020

I came here to post the same thing - as a partner, we get quite a big list of returned sandboxes and hard to parse out just what I care about.

@tobiaslohr
Copy link
Contributor

@sfelius The sandbox API does not provide a filtering of sandboxes on realm level unfortunately. Hence we cannot provide a filtering easily as part of the CLI. However, you can pipe the result of sfcc-ci sandbox:list and grep by realm, like that:

$ sfcc-ci sandbox:list | grep 'bbsv'

@tobiaslohr tobiaslohr added the enhancement New feature or request label Feb 1, 2023
@tobiaslohr
Copy link
Contributor

Closing this as there is no Sandbox API support for getting sandboxes per realm and a workaround was proposed through #172 (comment)

Please comment or open a new issue, if you see other options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants