orhun / orhun/rustypaste-cli

Support different profiles

Open
#66 4 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.