Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Remove reference to standalone cobra cli #40

Closed
wants to merge 1 commit into from

Conversation

liggitt
Copy link

@liggitt liggitt commented Mar 3, 2022

Switches the go get command to use the cobra library instead of the cobra/cobra command, since the command is being removed from the github.com/spf13/cobra module (xref spf13/cobra#1597)

@@ -28,7 +28,7 @@ clean() {
}

build_proto_files(){
go get -u -v github.com/spf13/cobra/cobra && \
go get -u -v github.com/spf13/cobra && \
Copy link

@jpmcb jpmcb Mar 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be

-  go get -u -v github.com/spf13/cobra/cobra && \
+  go get -u -v github.com/spf13/cobra-cli && \

?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so. From what I can tell, this is trying to fetch the dependencies needed to compile, and that is only the cobra lib. It just happened to fetch the parent lib as a side effect before

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is trying to fetch the dependencies needed to compile

Ah that makes sense 👍🏼

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants