diff --git a/History.md b/History.md new file mode 100644 index 0000000..e69de29 diff --git a/Readme.md b/Readme.md index a79a855..7e809e0 100644 --- a/Readme.md +++ b/Readme.md @@ -9,13 +9,13 @@ node-prune is a small tool to prune unnecessary files from ./node_modules, such From [gobinaries.com](https://gobinaries.com): ```sh -$ curl -sf https://gobinaries.com/tj/node-prune/cmd/node-prune | sh +$ curl -sf https://gobinaries.com/tj/node-prune | sh ``` From source: ``` -$ go get github.com/tj/node-prune/cmd/node-prune +$ go get github.com/tj/node-prune ``` ## Usage diff --git a/prune.go b/internal/prune/prune.go similarity index 100% rename from prune.go rename to internal/prune/prune.go diff --git a/cmd/node-prune/main.go b/main.go similarity index 95% rename from cmd/node-prune/main.go rename to main.go index fa9f18b..12582e3 100644 --- a/cmd/node-prune/main.go +++ b/main.go @@ -9,7 +9,7 @@ import ( "github.com/apex/log/handlers/cli" "github.com/dustin/go-humanize" - "github.com/tj/node-prune" + "github.com/tj/node-prune/internal/prune" ) func init() {