Allow overriding commands arbitrarily, from the configuration file
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.9k
- Forks
- 164
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I believe it’s not possible to override the Git commands run by Gitu (or defined new Gitu commands) from the configuration file:
https://github.com/altsem/gitu/blob/a0c2970/src/default_config.toml
This might be out of scope for the project, but I’d appreciate being able to define my own shortcuts, similarly to how I do it with tig.
Thanks!
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 with src/default_config.toml and trace how Gitu loads configuration and dispatches Git commands. Determine how user-defined commands or shortcuts would be represented and executed, then define tests covering arbitrary command overrides and newly configured commands.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100