goclone icon indicating copy to clipboard operation
goclone copied to clipboard

update installation doc

Open mesaglio opened this issue 1 year ago • 2 comments

#40

mesaglio avatar Jul 27 '22 00:07 mesaglio

this does not work for me.

go install github.com/imthaghost/goclone@latest
go: github.com/imthaghost/goclone@latest: module github.com/imthaghost/goclone@latest found (v1.2.0), but does not contain package github.com/imthaghost/goclone

tmcolby avatar Aug 01 '22 22:08 tmcolby

@tmcolby thanks for your feedback, can you please check the following installation command

go install github.com/imthaghost/goclone/cmd/goclone@latest

mesaglio avatar Aug 10 '22 21:08 mesaglio

@mesaglio go version 1.18.1

after running "go install github.com/imthaghost/goclone/cmd/goclone@latest"

getting "goclone: command not found"

Dodain avatar Apr 16 '23 00:04 Dodain

@Dodain do you have the golang binary path in your PATH env var?

I tested on docker with you go version and it works.

> docker run -it golang:1.18.1-alpine sh
> /go: go install github.com/imthaghost/goclone/cmd/goclone@latest
. . .
> /go:  goclone
Usage:
  goclone <url> [flags]

Flags:
  -C, --cookie strings        Pre-set these cookies
  -h, --help                  help for goclone
  -o, --open                  Automatically open project in deafult browser
  -p, --proxy_string string   Proxy connection string. Support http and socks5 https://pkg.go.dev/github.com/gocolly/colly#Collector.SetProxy
  -s, --serve                 Serve the generated files using Echo.
  -u, --user_agent string     Custom User Agent

What is your PATH env value?

mesaglio avatar Apr 16 '23 16:04 mesaglio