Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

cmd/swarm, internal/debug: decouple cli library from internal/debug #2060

Merged
merged 1 commit into from
Dec 23, 2019

Conversation

janos
Copy link
Member

@janos janos commented Dec 20, 2019

This PR decouples cli library from internal/debug metrics. Package internal/debug defines and uses cli flags for configuration making it highly coupled to the main package with hard requirement on the specific cli library. This change removes that coupling allowing switching to a different cli library in the main package.

This PR is a preparation for using cobra/viper in swarm main package.

@janos janos self-assigned this Dec 20, 2019
@janos janos requested a review from skylenet December 23, 2019 08:06
@janos janos merged commit 1a60969 into master Dec 23, 2019
@janos janos deleted the debug-cli-decouple branch December 23, 2019 10:22
@acud
Copy link
Member

acud commented Jan 6, 2020

thank god

@acud acud added this to the 0.5.5 milestone Jan 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants