KnpGaufretteBundle
KnpGaufretteBundle copied to clipboard
Create proper filesystem management commands
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.
No opinions here? :bowtie: