kitlangton / kitlangton/ghui

Adding CLI entrypoints (like filtering to a repo)

Open
#54 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.1k
Forks
77
Avg merge
2m
Merged PRs (30d)
3

Description

It would be helpful to be able to open the TUI filtered to a certain view. `ghui --repo kitlangton/ghui` would open the TUI to that filtered project view. There's the potential for other entry points, like PRs filtered to a certain org.

---

I've been using ghui inside a herdr pane alongside gitbutler. I have this default workspace view where I like to have ghui in the bottom left filtered down to the PRs for whatever project I'm working on. The challenge is, to get ghui filtered to the right contextual view when opening I'd need to hack together some herdr commands. Now, I'm not opposed to doing that, but it would be nice if I could just have it open to the right view from startup.

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the CLI entrypoint and trace how startup arguments are parsed and how the TUI selects its initial view. Define the behavior for `ghui --repo kitlangton/ghui`, then verify that startup opens the repository-filtered project view and that the argument structure can support future entry points such as organization-filtered PRs.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, typescript
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.