nspcc-dev / locode-db

Source of UN/LOCODE database generated by NeoFS CLI.
MIT License
3 stars 6 forks source link

Drop cobra dependency #34

Closed roman-khimov closed 2 weeks ago

roman-khimov commented 6 months ago

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.