kwilteam / kwil-db

Kwil DB, the database for web3
https://www.kwil.com/
Other
30 stars 10 forks source link

enhancement: stand-alone kwild binary #265

Closed brennanjl closed 11 months ago

brennanjl commented 1 year ago

As discussed in https://github.com/kwilteam/kwil-db/issues/247, kwild should be its own stand-alone binary. This should include:

The binary should support the following flags:

ENG-198

jchappelow commented 1 year ago

That sounds about right. This should be effectively a dedicated kwild server start with the enhancements and simplifications you named.

We do need to define our own structs even for the comet bft stuff, although that has been convenient up until now.

If I can knock out my current tasks, I'd like to like to address some of this re-architecture, and probably using https://github.com/alexflint/go-arg (I've not used before but it looks excellent in my view) for a purely struct-based scheme for accomplishing all the precendence and in a single location. Note that this package does support subcommands and is highly configurable so I believe we could also use it in kwil-admin where we want multiple (sub)commands.

jchappelow commented 1 year ago

Ah @charithabandi is on this. That sounds right. I would like to suggest possibly going with go-arg in lieu of viper though.

brennanjl commented 1 year ago

Ah @charithabandi is on this. That sounds right. I would like to suggest possibly going with go-arg in lieu of viper though.

We can divide these up as needed; I believe Charitha said she would get this during the meeting Thursday, which is why I assigned it to her.