-
Notifications
You must be signed in to change notification settings - Fork 13
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
Option to ignore "fluff" when using the --cmd
flag
#37
Comments
I think the best I can do is remove the first few lines i.e. Cluster: xxxxxx | Service: | Task: xxxxxxxxxxxx | Cmd: echo "hello"
Connecting to container xxxxxxxxxxxxx Since the remaining Would you be happy for me to add a ecsgo -q -n test-ecsgo -t 584c7724322e4d41a4d560523aacc745 -u nginx -c 'echo hello'
Starting session with SessionId: ecs-execute-command-0eb8eff6298eef532
hello
Exiting session with sessionId: ecs-execute-command-0eb8eff6298eef532. |
@hsommerlandreason added a |
It would be very nice to have the opportunity to ignore printing the additional information when using the
--cmd
flag in order to make piping easier.As of now if i run:
ecsgo -n xxxxxxxxxx -t xxxxxxx -u xxxxx -c 'echo "hello"' > testsson.txt
testsson.txt will contain all of this.
It would be very convenient not to have to strip the excess info manually.
The text was updated successfully, but these errors were encountered: