Skip to content

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
Collaborator

@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 goclone-dev: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.

4 participants