ordinals / ord

👁‍🗨 Rare and exotic sats
https://ordinals.com
Creative Commons Zero v1.0 Universal
3.74k stars 1.31k forks source link

[enhancement] In `ord.yaml` specifying options for subcommands #3818

Open GaloisField2718 opened 3 weeks ago

GaloisField2718 commented 3 weeks ago

Hello,

I think about adding subfields into ord.yaml file for subcommands options'.

Maybe something like this:

wallet: {
    name: "MyWallet",
    no-sync: false
}

I don't know what should be modified from src to integrate such options, but it can simplify some commands.

GaloisField2718 commented 3 weeks ago

Same with http-port from server subcommand. If we run multiple instances it's easier to make one conf per instance.