mirror of
https://github.com/guggero/chantools.git
synced 2026-08-13 12:33:34 +02:00
multi: generate command-generator, fix docs
This commit is contained in:
parent
bd467be1d5
commit
db1d8d09b1
6 changed files with 18 additions and 15 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue