rustypaste-cli
rustypaste-cli copied to clipboard
Support different profiles
It would be nice to support different profiles for the CLI. For example:
$ rpaste --profile shuttle test.txt # uploads the file to https://rustypaste.shuttleapp.rs/
$ rpaste --profile localhost test.txt # uploads the file to the local server
We should probably tweak the config file to use [[profile]]. Not sure yet, ideas are welcome!
This sounds like a great idea. It might be a bit challenging to keep it backwards compatible.
It should also be possible to have a default profile, if no --profile argument is given.
I'd love to look into this, but I doubt I will be able to for the time being.
Exactly!
I don't think there is anyone else working on this right now, do you want me to assign this issue to you? You can look into it whenever you have the chance 🐻
I don't want to block anyone who wants to pick this up. I really have no idea when I will get to it.
Gotcha, no worries!