ViRb3 / wgcf

🚤 Cross-platform, unofficial CLI for Cloudflare Warp
MIT License
6.3k stars 698 forks source link

Migrate the project to properly use go module versioning #417

Closed ysmood closed 1 month ago

ysmood commented 3 months ago

The project is using v2 tag on git repo, but it doesn't follow the rule of standard go module.

FYI: https://go.dev/blog/v2-go-modules

If you try to run directly it will fail:

go run github.com/ViRb3/wgcf@latest 

After this fix, you will be able to run the wgcf cli without having to install it:

go run github.com/ViRb3/wgcf/v2@latest -h
go run github.com/ViRb3/wgcf/v2@latest register
go run github.com/ViRb3/wgcf/v2@latest generate