Skip to content

Commit

Permalink
refactor: Rename project name from wireviz to wireplus
Browse files Browse the repository at this point in the history
  • Loading branch information
taichimaeda committed Oct 4, 2023
1 parent 043808c commit 8e0a814
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
# Wireviz: Wire Supercharged with Graphviz Vizualisation
# Wireplus: Wire Supercharged

Wireviz is a wire command superchaged with graphviz vizualisation.
Wireplus is a wire command superchaged with graphviz vizualisation.

The `wireviz` CLI includes an extra command `wireviz graph` which visualizes the dependency graph
The `wireplus` CLI includes an extra command `wireplus graph` which visualizes the dependency graph
in online Graphviz editor available at [https://edotor.net/](https://edotor.net/)

![wireviz demo](https://user-images.githubusercontent.com/28210288/268586107-58cae342-a579-4f38-ba1e-47612572adab.png)
![wireplus demo](https://user-images.githubusercontent.com/28210288/268586107-58cae342-a579-4f38-ba1e-47612572adab.png)

*Demo graph generated from [https://github.com/google/go-cloud](https://github.com/google/go-cloud)

## Installing

Install Wireviz by running:
Install wireplus by running:

```shell
go install github.com/taichimaeda/wireviz/cmd/wireviz@latest
go install github.com/taichimaeda/wireplus/cmd/wireplus@latest
```

and ensuring that `$GOPATH/bin` is added to your `$PATH`.

## Usage

```shell
wireviz graph github.com/google/path/to/package initializeApplication
wireplus graph github.com/google/path/to/package initializeApplication
```

or

```shell
cd /path/to/package
wireviz graph . initializeApplication
wireplus graph . initializeApplication
```
2 changes: 1 addition & 1 deletion cmd/wireviz/main.go → cmd/wireplus/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (
"github.com/awalterschulze/gographviz"
"github.com/google/subcommands"
"github.com/pmezard/go-difflib/difflib"
"github.com/taichimaeda/wireviz/internal/wire"
"github.com/taichimaeda/wireplus/internal/wire"
"golang.org/x/tools/go/types/typeutil"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/taichimaeda/wireviz
module github.com/taichimaeda/wireplus

go 1.12

Expand Down

0 comments on commit 8e0a814

Please sign in to comment.