KarlHeitmann / KarlHeitmann/rg_wrapper

Add an argument to function `run_command`

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Rust
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

This [function ](https://github.com/KarlHeitmann/rg_wrapper/blob/8178db2cba9cfbb9141bb06887918004f859b40a/src/io.rs#L4) has the argument hard coded in it's body. Extract the argument hard coded in the call to `rg` and put it as an input argument on the function.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open src/io.rs and inspect the run_command function and its call to rg. Extract the hard-coded argument from that call into the function's input arguments. Done means run_command accepts the argument and passes it to rg instead of keeping it hard-coded.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.