Current "entire trail list" returns a list of all items but it should only return the…
Rate quality
Private research annotation
Sign in to add a private research label or note.
Jump to turn (13)
- 1Current "entire trail list" returns a list of all items but it should only retur
- 2There should not be an option to show all. That makes no sense. Also, we need an
- 3I want options to return the list filtered by author and/or status. Default shou
- 4Where come the open/closed/active states from? Just use the ones from trails.
- 5What if not providing an "any" value and just e.g. "--author" and show any then?
- 6Do it and aim for the output logic to be like this: entire trail list entire tra
- 7Create a PR with description of the changes and the new output design.
- 8Remote checks are failing, fix them and have a look at the review comments and w
- 9Resolve addressed review comment
- 10On --author default, let's show the ones in progress from the repo, not just "me
- 11Remove "--mine" again I wanted "me"! as an alias for the current users username.
- 12Last example in the PR is wrong? Like it doesn't need --author anymore no?
- 13entire trail list --author me always returns an API error: Not authenticated (st
- User
Current "entire trail list" returns a list of all items but it should only return the most recent ones. The branch shouldn't get truncated, the title instead though.
- Assistant
Implemented in
cmd/entire/cli/trail_cmd.go:entire trail listnow defaults to showing the 10 most recent trails.- Added
--limitflag (0shows all). - Branch names are no longer truncated in the table.
- Title column truncates instead, shrinking further when branches are long.
- Updated help/no-trails wording to say “recent trails”.
- Added tests in
cmd/entire/cli/trail_cmd_test.go.
Verified with:
shmise exec -- go test ./cmd/entire/cli - User