KnpGaufretteBundle icon indicating copy to clipboard operation
KnpGaufretteBundle copied to clipboard

Create proper filesystem management commands

Open lmammino opened this issue 11 years ago • 1 comments

I would (really) love to have some management commands to read, write, list (etc) keys stored on a filesystem.

I propose the following commands:

Name Arguments Description
gaufrette:read filesystem key shows the content of key on filesystem
gaufrette:write filesystem key content writes content on filesystem usign the name key
gaufrette:exists filesystem key checks if key exists on filesystem
gaufrette:keys filesystem [blob] lists all keys in filesystem (optionally filtered by blob)
gaufrette:delete filesystem key deletes key in filesystem
gaufrette:rename filesystem key1 key1 renames key1 to key2 in filesystem

What do you think about it? It should be quite easy to implement them as separate symfony commands and using the filesystem mapper service as way to retrieve configured filesystems.

lmammino avatar Aug 23 '13 14:08 lmammino

No opinions here? :bowtie:

lmammino avatar Aug 26 '13 12:08 lmammino