wormhole/bridge
Leo a4058512d5 bridge: migrate cmd/ to cobra
Reviewer note: Does not touch any of the business logic. Avoided
renaming files whereever possible to make it easier to spot differences.

Verbatim migration, in a future CL, we could replace some of the
flag validation code with cobra features and eliminate the global vars.

Moved the dlv tool definition out of the way for the top-level wrapper.

tools/bin/cobra is a helper utility that generates boilerplate
(we slightly deviate from their default scheme by having guardiand
in a separate package, rather than stuffing everything into cmd/)

ghstack-source-id: caec9a38a6
Pull Request resolved: https://github.com/certusone/wormhole/pull/67
2020-10-28 22:47:12 +01:00
..
cmd bridge: migrate cmd/ to cobra 2020-10-28 22:47:12 +01:00
pkg Remove outdated TODO comments 2020-10-28 22:47:12 +01:00
tools bridge: migrate cmd/ to cobra 2020-10-28 22:47:12 +01:00
Dockerfile bridge: migrate cmd/ to cobra 2020-10-28 22:47:12 +01:00
go.mod bridge: migrate cmd/ to cobra 2020-10-28 22:47:12 +01:00
go.sum bridge: migrate cmd/ to cobra 2020-10-28 22:47:12 +01:00
main.go bridge: migrate cmd/ to cobra 2020-10-28 22:47:12 +01:00