Today the cli output is very functional, it delivers what it has. It would be nice to have different formats (through a --format, for example) that offers some pretty outputs
I guess we should fix this. It's related with multi_mime gem, and they not have a newer version. The last one is the version we're using - https://rubygems.org/gems/multi_mime
It would be interesting to have the ability to filter items of the container, it should support the parameters prefix and delimiter as described in the OpenStack Swift documentation.
Buckets/containers may or may not be public. Given that, the download command should use the internal URL, and the endpoint URL exposed to be used by applications.
Some people prefer to store passwords and tokens as env variables, which is nice. It would be nice to support at least the password as a env variable. My sugestion is NSWIFT_PASSWORD.
The authentication process returns the endpoints URLs, but it would be a good to feature to set them independently: admin URL, public URL and upload URL.
The cli stores a cache of the token to reuse as much as it can, but when you changes your configurations (for a different environment, for example) and that token is still valid you need to remove the cache file by yourself
Since the release of Openstack Havana the preferred version of Identity to use is v3. Some cloud providers have now migrated to only supporting v3 for token generation to get support for domains.
Currently the Nightcrawler Swift does not work with providers that require support for Identity v3.
Would it be possible to add support for Identity v3 in this project as well?
The CLI (nswift) when used with a wrong configuration file generate an invalid nswift_cache which causes miss configurations, it should remove the cache after an invalid request to authentication
Sometimes we just need to synchronize the already compiled assets, it would be nice to have one task that just synchronizes the public dir and another that precompiles the assets and synchronizes.
It could read a .nswift file from user home with the credentials (and a default bucket/container) and allow to override the bucket/container, something like: