Git Product home page Git Product logo

Comments (7)

kenperkins avatar kenperkins commented on July 29, 2024

As I think about this with @rgbkrk I feel like --download is a better option. It will never surprise you when the option is explicit even though it requires more typing.

from rack.

rgbkrk avatar rgbkrk commented on July 29, 2024

Do we assume stdout or a download in these cases?

I could see myself using

rack files my-container log1.txt --download | grep "500 Internal Server Error"

from rack.

jrperritt avatar jrperritt commented on July 29, 2024

The problem I'm having with that syntax is that it's not consistent with the other services. Currently, we have a rack <service> <subservice> <action> <flags> format.
To stay consistent, It'd need to be something like:
rack files object download --container <containerName> --object <objectName>
Or possibly arguments instead of flags.

from rack.

kenperkins avatar kenperkins commented on July 29, 2024

I like it from a consistency standpoint ( @jrperritt ) but it does add a significant amount of typing. Perhaps it's worth it?

from rack.

rgbkrk avatar rgbkrk commented on July 29, 2024

There's not really a subservice on cloudfiles is there? Also, object confuses, for me, the access of a single object vs a container. This would come out as:

rack files object list --container <containerName>

from rack.

rgbkrk avatar rgbkrk commented on July 29, 2024

Would rack files container list make more sense?

from rack.

jrperritt avatar jrperritt commented on July 29, 2024

Closing for now. This has been implemented. Comment and/or re-open to to continue discussion.

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.