Giter Club home page Giter Club logo

Comments (2)

tedsmitt avatar tedsmitt commented on May 14, 2024 1

@hsommerlandreason added a --quiet flag in v0.5.0, this is probably the best we can do until aws/session-manager-plugin#85 is addressed.

from ecsgo.

tedsmitt avatar tedsmitt commented on May 14, 2024

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 Starting session with SessionId... is printed from the session-manager-plugin. It might be troublesome to remove that text. It looks like there is an open issue for this on the session-manager-plugin repo though.

Would you be happy for me to add a -q flag to disable the aforementioned lines? Something like

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.

from ecsgo.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.