Skip to content
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

update installation doc #42

Merged
merged 2 commits into from
Aug 14, 2022
Merged

update installation doc #42

merged 2 commits into from
Aug 14, 2022

Conversation

mesaglio
Copy link
Collaborator

@mesaglio mesaglio commented Jul 27, 2022

#40

@mesaglio mesaglio requested a review from imthaghost July 27, 2022 00:31
Copy link
Owner

@imthaghost imthaghost left a comment

Choose a reason for hiding this comment

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

LGTM

@tmcolby
Copy link

tmcolby commented Aug 1, 2022

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

@mesaglio
Copy link
Collaborator Author

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

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

@mesaglio mesaglio merged commit 8e4e8ca into imthaghost:master Aug 14, 2022
@Dodain
Copy link

Dodain commented Apr 16, 2023

@mesaglio
go version 1.18.1

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

getting "goclone: command not found"

@mesaglio
Copy link
Collaborator Author

@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?

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

Successfully merging this pull request may close these issues.

None yet

4 participants