Skip to content

Commit

Permalink
chore(nesutil): Rename gonesutil to nesutil
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Oct 14, 2024
1 parent a368e0b commit a332899
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 34 deletions.
13 changes: 0 additions & 13 deletions cmd/gonesutil/README.md

This file was deleted.

13 changes: 13 additions & 0 deletions cmd/nesutil/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# NESutil

NESutil is a separate package that provides command-line utilities for managing NES files.

## Installation

```shell
go install gabe565.com/gones/cmd/nesutil@latest
```

## Usage

See [docs](../../docs/nesutil.md) for the full command line usage documentation.
2 changes: 1 addition & 1 deletion cmd/gonesutil/cmd.go → cmd/nesutil/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"log/slog"
"os"

"gabe565.com/gones/cmd/gonesutil/root"
"gabe565.com/gones/cmd/nesutil/root"
"gabe565.com/gones/cmd/options"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions cmd/gonesutil/root/cmd.go → cmd/nesutil/root/cmd.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package root

import (
"gabe565.com/gones/cmd/gonesutil/ls"
"gabe565.com/gones/cmd/nesutil/ls"
"gabe565.com/gones/cmd/options"
"github.com/spf13/cobra"
)

func New(opts ...options.Option) *cobra.Command {
cmd := &cobra.Command{
Use: "gonesutil",
Use: "nesutil",
Short: "GoNES command-line utilities",

SilenceErrors: true,
Expand Down
14 changes: 0 additions & 14 deletions docs/gonesutil.md

This file was deleted.

14 changes: 14 additions & 0 deletions docs/nesutil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## nesutil

GoNES command-line utilities

### Options

```
-h, --help help for nesutil
```

### SEE ALSO

* [nesutil ls](nesutil_ls.md) - List ROM files and metadata

6 changes: 3 additions & 3 deletions docs/gonesutil_ls.md → docs/nesutil_ls.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## gonesutil ls
## nesutil ls

List ROM files and metadata

```
gonesutil ls [path...] [flags]
nesutil ls [path...] [flags]
```

### Options
Expand All @@ -18,5 +18,5 @@ gonesutil ls [path...] [flags]

### SEE ALSO

* [gonesutil](gonesutil.md) - GoNES command-line utilities
* [nesutil](nesutil.md) - GoNES command-line utilities

2 changes: 1 addition & 1 deletion internal/generate/docs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"

"gabe565.com/gones/cmd/gones"
gonesutil "gabe565.com/gones/cmd/gonesutil/root"
gonesutil "gabe565.com/gones/cmd/nesutil/root"
"gabe565.com/gones/internal/log"
"github.com/spf13/cobra"
"github.com/spf13/cobra/doc"
Expand Down

0 comments on commit a332899

Please sign in to comment.