Code Monkey home page Code Monkey logo

Comments (7)

perbu avatar perbu commented on July 22, 2024 1

Perfect.

Not sure if I should close the issue or whatever, but I'm certain all my needs have been met. 🥇

from kubecolor.

hidetatz avatar hidetatz commented on July 22, 2024

@perbu

Can you provide a specific example output of kubectl apply which you want to colorize?

from kubecolor.

perbu avatar perbu commented on July 22, 2024

Just colorizing "unchanged", "created", "configured". I have about 80 lines of output from my kubectl apply and I wanna highlight what is actually being changed.

So it currently looks like this:

deployment.apps/foo unchanged
deployment.apps/bar created
deployment.apps/quux configured

Which is fine for 3 lines, but a bit more painful for 80 lines.

from kubecolor.

hidetatz avatar hidetatz commented on July 22, 2024

@perbu

Hi, as this suggestion sounds interesting to me, I quickly tried to implement it in #60.
Do you think you can try it with your environment and tell me how it looks?

Right now I'm thinking if we should leave deployment.apps/foo just white or not.

from kubecolor.

perbu avatar perbu commented on July 22, 2024

haha. Thanks!

Since I'm not planning on deploying right now I ran a dry-run and then the colors won't apply. So I think the parser might need a tiny bit more work if you wanna cover dry-runs.

bilde

from kubecolor.

hidetatz avatar hidetatz commented on July 22, 2024

Ah cool, I updated the PR and now it should handle dry run cases.

from kubecolor.

hidetatz avatar hidetatz commented on July 22, 2024

I merged the PR and made a release v0.0.16 includes this change. Please update kubecolor and try again.

Thank you for the suggestion! If you have anything else please feel free to reopen or open new one.

from kubecolor.

Related Issues (20)

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.