rustypaste-cli icon indicating copy to clipboard operation
rustypaste-cli copied to clipboard

Support different profiles

Open orhun opened this issue 2 years ago • 4 comments

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!

orhun avatar Oct 10 '23 13:10 orhun

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.

tessus avatar Nov 02 '23 23:11 tessus

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 🐻

orhun avatar Nov 02 '23 23:11 orhun

I don't want to block anyone who wants to pick this up. I really have no idea when I will get to it.

tessus avatar Nov 02 '23 23:11 tessus

Gotcha, no worries!

orhun avatar Nov 02 '23 23:11 orhun