Support different profiles
Open
Nobody has claimed this yet.
enhancement
good first issue
- Dominant language
- Rust
- Stars
- 86
- Forks
- 12
- Avg merge
- 41m
- Merged PRs (30d)
- 4
Description
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!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the CLI's config-file handling and the command path for the --profile option. Decide how [[profile]] entries map names to servers, then verify that both the shuttle and localhost examples select the intended upload destination and that existing configuration behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100