Skip to content

Commit 5039591

Browse files
pinheadmzgithub-actions[bot]
authored andcommitted
Update apidocs on
1 parent 85ed1d6 commit 5039591

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

docs/warnet.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@ options:
4848
|--------|--------|------------|-----------|
4949
| force | Bool | | False |
5050

51+
### `warnet import-network`
52+
Create a network from an imported lightning network graph JSON
53+
54+
options:
55+
| name | type | required | default |
56+
|-----------------|--------|------------|-----------|
57+
| graph_file_path | Path | yes | |
58+
| output_path | Path | yes | |
59+
5160
### `warnet init`
5261
Initialize a warnet project in the current directory
5362

@@ -192,4 +201,33 @@ options:
192201
| arches | String | | |
193202
| action | String | | "load" |
194203

204+
## Ln
205+
206+
### `warnet ln host`
207+
Get lightning node host from \<ln pod name>
208+
209+
options:
210+
| name | type | required | default |
211+
|--------|--------|------------|-----------|
212+
| pod | String | yes | |
213+
214+
### `warnet ln pubkey`
215+
Get lightning node pub key from \<ln pod name>
216+
217+
options:
218+
| name | type | required | default |
219+
|--------|--------|------------|-----------|
220+
| pod | String | yes | |
221+
222+
### `warnet ln rpc`
223+
Call lightning cli rpc \<command> on \<ln pod name>
224+
225+
options:
226+
| name | type | required | default |
227+
|-----------|--------|------------|-----------|
228+
| pod | String | yes | |
229+
| method | String | yes | |
230+
| params | String | | |
231+
| namespace | String | | |
232+
195233

0 commit comments

Comments
 (0)