cli/pkg/cmd/discussion
Babak K. Shandiz 54ddede12f
test(discussion/view): consolidate NewCmdView flag parsing tests
Replace scattered standalone test functions with a single table-driven
TestNewCmdView covering all arg/flag parsing: number, hash, URL, web,
comments, replies, limit, after, order, mutual exclusivity, and invalid
inputs. Uses shlex.Split for arg parsing and asserts opts fields
individually per case.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-28 11:03:55 +01:00
..
client chore(discussion/client): polish and cleanup tests 2026-04-28 10:41:54 +01:00
list fix(discussion list): include search keywords in web mode 2026-04-14 15:07:32 +01:00
shared feat(discussion view): add cursor-based pagination to comments 2026-04-24 23:50:04 +01:00
view test(discussion/view): consolidate NewCmdView flag parsing tests 2026-04-28 11:03:55 +01:00
discussion.go Add discussion view command 2026-04-24 21:24:25 +01:00