-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedCommunity contributions are welcomeCommunity contributions are welcomescope:cliCommand-line interface (Go)Command-line interface (Go)
Description
Background
The CLI was originally written in Kotlin, then converted to Go for easier distribution. We used AI for the conversion. It works, but honestly, we are not confident in Go—we do not know if the code is idiomatic or follows best practices.
We need help from Go developers. If you see something wrong or weird, please tell us.
The `internal/util` package has only one test file (`truncate_test.go`), which was also written by AI.
Tasks
Each item can be submitted as a separate PR.
- `util/filters.go` (12 LOC, Easy)
- `util/formatter.go` (~50 LOC, Easy)
- `util/strings.go` (~30 LOC, Easy)
- `util/arguments.go` (110 LOC, Medium)
- `util/table_printer.go` (~80 LOC, Medium)
How to Contribute
- Comment below to claim an item
- Branch: `test/cli-util-`
- PR title: `test(cli): add tests for util/`
- One file per PR
- Run `cd cli && make test`
Done When
- Test file at `cli/internal/util/_test.go`
- Public functions covered
- Tests pass
Notes
Code improvements are welcome—open a separate issue or include in your PR."
Create CLI util tests umbrella issue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedCommunity contributions are welcomeCommunity contributions are welcomescope:cliCommand-line interface (Go)Command-line interface (Go)