Comments (7)
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.
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.
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.
I like it from a consistency standpoint ( @jrperritt ) but it does add a significant amount of typing. Perhaps it's worth it?
from rack.
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.
Would rack files container list
make more sense?
from rack.
Closing for now. This has been implemented. Comment and/or re-open to to continue discussion.
from rack.
Related Issues (20)
- fatal error: runtime: out of memory during download HOT 7
- rack help should display global flags HOT 1
- See dial tcp i/o timeouts once a day HOT 6
- Let users include metadata in the output for list operations
- FR: make return value non-zero when no servers found HOT 1
- Can't build HOT 3
- upload file from stdin illegal seek
- Search for [email protected] and remove HOT 1
- Rackspace CLI - Install the binary with a script
- Addition of environment variable to interact with a specific profile
- dial tcp: lookup identity.api.rackspacecloud.com: no DNS servers HOT 1
- Orchestration stack create fails HOT 13
- snapshot create failing HOT 1
- [Enhancement request] Return all ip addresses for all adapters
- Rack does not work on OS X High Sierra HOT 4
- Inconsistencies between CLI list command and actual File Object
- `rack networks subnet list` returns `<nil>` for Network ID
- Unable to set Access-Control-Allow-Origin and other headers on uploaded files
- This project will not migrate to docs.rackspace.com
- Go module support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rack.