cli icon indicating copy to clipboard operation
cli copied to clipboard

[FEATURE REQUEST] objectstore insert should be able to take a file

Open joeshaw opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. The Fastly object store is meant to store potentially large objects, and not necessarily textual data. The fastly objectstore insert command only takes a --v flag which inserts a string.

Describe the solution you'd like It should probably have something like a --file flag to upload a local file to the object store.

joeshaw avatar Nov 15 '22 17:11 joeshaw

👋🏻

The documentation around this endpoint is not very clear (it's also unlisted on the DevHub, so if a user of the CLI wanted to better understand the CLI interface, they would have to follow the thread back to the go-fastly API client).

So looks like changes are likely to have to happen both here and in go-fastly.

Integralist avatar Jan 16 '23 14:01 Integralist