-
Notifications
You must be signed in to change notification settings - Fork 62
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
For automation needs, have a similar UrlAction print
but only printing the url on stdout - without any pre / post text
#303
Comments
so the That said, I can create a new Is that a reasonable compromise? |
Hi, |
Add additional url actions to print only the url or execute an arbitrary command to make it easier to itegrate with other tools/browsers Fixes: #303
Add additional url actions to print only the url or execute an arbitrary command to make it easier to itegrate with other tools/browsers Fixes: #303
Add additional url actions to print only the url or execute an arbitrary command to make it easier to itegrate with other tools/browsers Fixes: #303
Add additional url actions to print only the url or execute an arbitrary command to make it easier to itegrate with other tools/browsers Fixes: #303
Add additional url actions to print only the url or execute an arbitrary command to make it easier to itegrate with other tools/browsers Fixes: #303
Add additional url actions to print only the url or execute an arbitrary command to make it easier to itegrate with other tools/browsers Fixes: #303
Add additional url actions to print only the url or execute an arbitrary command to make it easier to itegrate with other tools/browsers Fixes: #303
Add additional url actions to print only the url or execute an arbitrary command to make it easier to itegrate with other tools/browsers Fixes: #303
@llange: just a follow up, if you get a chance, check out the new |
Is your feature request related to a problem? Please describe.
It's a minor annoyance, I have a workaround.
I'd like to automate the opening of some AWS console sessions in tabs (containers), so that those sessions are isolated in the browser.
I'm using this extension https://github.com/honsiorovskyi/open-url-in-container which provides the ability to launch an URL in a specific container tab (and a cli launcher).
However the current implementation of the
print
UrlAction ofaws-sso
has 2 "issues":stderr
thus I need to post-process the (
stderr
) output ofaws-sso console
to extract the url.(And I cannot use the
--browser
argument as it's not intended to have parameters).I thought it could be nice to have a full non-interactive output for automation.
I like the idea of each tool doing its own job, and chaining the output / result of the tools to compose a solution (Instead of having too much features in a tool).
Describe the solution you'd like
--url-action=XXXXX
, or a decision to remove all the accompanying text when using--url-action=print
(which may be inconvenient to existing users)stdout
(May be a solution could be to print the accompanying text to
stderr
, while the data itself is output tostdout
; there may be a risk in display order).Describe alternatives you've considered
Currently I'm post-processing
stderr
to extract the URL:which works great.
The text was updated successfully, but these errors were encountered: