vulpemventures / nigiri

🍣 A delicious docker box for special Bitcoin, Lightning and Liquid cookings
https://nigiri.vulpem.com
MIT License
273 stars 44 forks source link

Adds support for RPC -named arguments #161

Closed aferreira44 closed 2 years ago

aferreira44 commented 2 years ago

Based on the issue https://github.com/vulpemventures/nigiri/issues/123, this PR adds support to use -named arguments in RPC commands.

Examples:

$ nigiri rpc -named createwallet wallet_name=alice descriptors=false

$ nigiri rpc -named getbalance minconf=1

It closes https://github.com/vulpemventures/nigiri/issues/123

tiero commented 2 years ago

Thanks for the contribution! Will review & test this week!

aferreira44 commented 2 years ago

@tiero Did you have the chance to look at it?

tiero commented 2 years ago

Check version 0.4.3 now has -named arguments. Thank you for your contribution