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

Adding aliases #149

Open
lornadsilvasonos opened this issue May 11, 2020 · 5 comments · Fixed by #187
Open

Adding aliases #149

lornadsilvasonos opened this issue May 11, 2020 · 5 comments · Fixed by #187
Labels
enhancement New feature or request

Comments

@lornadsilvasonos
Copy link

When using sfcc-ci sandbox:alias:add -s sbx_id -h www.abc.com I get a selection of three IP addresses to add to my hosts file. But when I use the command sfcc-ci sandbox:alias:add -s sbx_id -h www.abc.com -j I do not get the IP addresses that need to be added to my hosts file.

What is the solution here?

@tobiaslohr
Copy link
Contributor

Hi @lornadsilvasonos

But when I use the command sfcc-ci sandbox:alias:add -s sbx_id -h www.abc.com -j I do not get the IP addresses that need to be added to my hosts file.

I can't see a reason, why the IP addresses are missing in the result JSON string of this command. As you probably know, the idea of the -j,--json flag is only to provide an alternative, machine readable output of a command. The absence of the IP addresses in this case has no deeper meaning and must be used the same way as stated in the docs of the command.

@tobiaslohr
Copy link
Contributor

@martin-dodo-hartmann Is this something you can add?

@tobiaslohr tobiaslohr added the enhancement New feature or request label May 19, 2020
@martin-dodo-hartmann
Copy link
Contributor

We will not get to it in the near future, but @lornadsilvasonos if you want, feel free to create a PR.

@sholsinger
Copy link

Perhaps #187 helps with this issue in a tangential way?

@tobiaslohr tobiaslohr linked a pull request May 31, 2021 that will close this issue
@tobiaslohr
Copy link
Contributor

@lornadsilvasonos Now that sandbox IP addresses can queried (see #187), will that help you when working with aliases?

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

Successfully merging a pull request may close this issue.

4 participants