Git Product home page Git Product logo

Comments (5)

jrperritt avatar jrperritt commented on September 4, 2024

Yeah, I think using a third-party tool is the way to go here. There already exist tools like the one you mentioned that do that stuff so well. In addition, rack already has the ability to pick out pieces of data to a degree. For your example, something like this:
rack servers instance list --fields id --name rum
You'd just have to cut off the header with tail or the like.

from rack.

rgbkrk avatar rgbkrk commented on September 4, 2024

For some fields, you can use regex for selection:

$ rack servers instance list --name='nature.*'
ID                  Name                Status  Public IPv4 Private IPv4    Image                   Flavor
3e97f1a7-5831-4ac3-83f2-2d72d2171282    nature-iad-012-user.tmpnb.org   ACTIVE  104.130.19.9    10.184.11.63    06bb130b-7607-46f9-85ae-124bae4d0f5b    onmetal-compute1
1a7ba589-a388-4ff6-9b5d-c05912d6f6ac    nature-iad-012.tmpnb.org    ACTIVE  162.242.224.119 10.223.242.196  598a4282-f14b-4e50-af4c-b3e52749d9f9    performance2-15
62b2438f-b786-4a7a-a47f-0af1a2f7f847    nature.tmpnb.org        ACTIVE  104.130.19.7    10.184.5.249    06bb130b-7607-46f9-85ae-124bae4d0f5b    onmetal-compute1

from rack.

etoews avatar etoews commented on September 4, 2024

Sounds good. I'm fine with leaving this open as a reminder to document one solution or close this and open another issue explicitly for doing the doc.

from rack.

kenperkins avatar kenperkins commented on September 4, 2024

I think right now this is mostly documenting common use cases like @everett-toews has explained above. No code changes for now.

from rack.

kenperkins avatar kenperkins commented on September 4, 2024

This should be addressed outside of the core docs, but rather as a how-to with more example use cases.

from rack.

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.