multi: generate command-generator, fix docs

This commit is contained in:
Oli 2025-10-29 15:06:34 +01:00
parent bd467be1d5
commit db1d8d09b1
No known key found for this signature in database
GPG key ID: 8E4256593F177720
6 changed files with 18 additions and 15 deletions

View file

@ -28,6 +28,9 @@ jobs:
with:
fetch-depth: 0
- name: create linter cache directory
run: mkdir -p /tmp/go-lint-cache
- name: linter cache
uses: actions/cache@v4
with:
@ -35,11 +38,6 @@ jobs:
/tmp/go-lint-cache
key: ${{ runner.os }}-go-${{ env.GO_VERSION }}-linter-${{ hashFiles('**/go.sum') }}
- name: Cache Docker images.
uses: ScribeMD/docker-cache@0.5.0
with:
key: docker-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- name: lint
run: make lint

View file

@ -140,7 +140,7 @@ func newZombieRecoveryFindMatchesCommand() *cobra.Command {
Use: "findmatches",
Short: "[0/3] Matchmaker only: Find matches between " +
"registered nodes",
Long: `Match maker only: Runs through all the nodes that have
Long: `Matchmaker only: Runs through all the nodes that have
registered their ID on https://www.node-recovery.com and checks whether there
are any matches of channels between them by looking at the whole channel graph.

View file

@ -19,7 +19,11 @@ func newZombieRecoveryCommand() *cobra.Command {
to help with recovering funds stuck in zombie channels.
Please visit https://github.com/lightninglabs/chantools/blob/master/doc/zombierecovery.md
for more information on how to use these commands.`,
for more information on how to use these commands.
Check out https://guggero.github.io/chantools/doc/command-generator.html for an
interactive GUI that guides you through the different steps.
`,
Run: func(cmd *cobra.Command, args []string) {
if len(args) == 0 {
_ = cmd.Help()

View file

@ -13,6 +13,7 @@ for more information on how to use these commands.
Check out https://guggero.github.io/chantools/doc/command-generator.html for an
interactive GUI that guides you through the different steps.
```
chantools zombierecovery [flags]
```

View file

@ -1,6 +1,6 @@
## chantools zombierecovery findmatches
[0/3] Match maker only: Find matches between registered nodes
[0/3] Matchmaker only: Find matches between registered nodes
### Synopsis

File diff suppressed because one or more lines are too long