-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cobra init only works with name #652
Comments
Same issue for me. |
1 similar comment
Same issue for me. |
Any plans on addressing this issue or should it be closed and we can work around it? |
I had the same issue and it was caused by me having symlinks in my project directory. You can do cd `pwd -P` to resolve all symlinks and then do |
I'd say that this PR does not apply anymore, because of #817 (see also #904). @galileo-pkm, @dbrimley, @XiaoyeFang, @jmvbxx, could try the latest @dimitarvdimitrov, could you please provide some context? Which is the structure of the directory where you did need to execute |
@jharshman, should this be closed? |
cobra init --help lists possible combinations including no name.
It seems that all other combinations except cobra init name, fail.
For example:
With a name provided, it works, as expected:
$GOPATH is set to: /home/user/ws/testws-2/go/cobra_project/
host is Fedora 27
The text was updated successfully, but these errors were encountered: