mirror of
https://github.com/nspcc-dev/locode-db.git
synced 2026-03-01 04:28:42 +00:00
Drop cobra dependency #17
Labels
No labels
I2
I3
I4
S2
S3
S4
U2
U4
blocked
bug
bug
bug
enhancement
enhancement
feature
go
go
good first issue
help wanted
help wanted
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/locode-db#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @roman-khimov on GitHub (Feb 20, 2024).
Is your feature request related to a problem? Please describe.
I'm always frustrated when we have dependencies we don't really need. The CLI utility to build the DB is rather trivial and normally not intended to be run other than from the Makefile. Which means it can provide less fancy CLI without any problem.
Describe the solution you'd like
Drop cobra, use standard packages to deal with flags. We can even not build the binary, just
go run.Describe alternatives you've considered
Not doing this leaves us with a bit more garbage in go.mod/go.sum than it could be.