Git Product home page Git Product logo

Comments (5)

jrperritt avatar jrperritt commented on September 4, 2024

Alternatively, if we do allow multiple values, maybe there are only ids and names flags (as opposed to id and name that we have currently).

from rack.

jrperritt avatar jrperritt commented on September 4, 2024

Eh, after thinking about it, I don't really like this concept. I came to the conclusion that piping to STDIN isn't really passing multiple values at once as much as streaming one or more values that can each be handled individually and have its response streamed back. Others should feel free to chime in though.

from rack.

rgbkrk avatar rgbkrk commented on September 4, 2024

rack servers get --id 12345,5678,12395

Definitely not a fan of that.

piping to STDIN isn't really passing multiple values at once as much as streaming one or more values that can each be handled individually and have its response streamed back

Now there's some foresight! The only problem there is making the resulting tabular output match the size appropriately. Doing each individually also means repeated calls to the API when we could have made bulk calls (not necessarily available across all OpenStack or Rackspace APIs).

from rack.

jrperritt avatar jrperritt commented on September 4, 2024

making the resulting tabular output match the size appropriately

Do you mean there should only be a single header from this command?:
(echo 2 && echo 3) | rack servers flavor get --stdin id

To me, these would just return 2 stacked get tables, each with a header.

from rack.

jrperritt avatar jrperritt commented on September 4, 2024

Closing as "not implementing".

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.