spacemeshos / pm

Project management. Meta-tasks related to research, dev, and specs for the Spacemesh protocol and infrastructure.
http://spacemesh.io/
Creative Commons Zero v1.0 Universal
2 stars 0 forks source link

command line tooling #273

Open dshulyak opened 7 months ago

dshulyak commented 7 months ago

placeholder to track tools that we are lacking:

after #270

consider extending https://github.com/spacemeshos/smcli

after #271

after #259

@fasmat @poszu could you please elaborate about plans for postcli? i assumed that it will interact with post service, but it is basically up to you how to design that.


all cli can be distributed separately and also compiled into single cli for conveniences of distrubution. therefore they all should use same lib (preferable cobra)

poszu commented 6 months ago

@fasmat @poszu could you please elaborate about plans for postcli? i assumed that it will interact with post service, but it is basically up to you how to design that.

I was thinking of deprecating the whole post repo including the postlcli and moving the initialization CLI into post-rs. The post-service binary could expose a CLI to initialize.

fasmat commented 6 months ago

I also think we should aim to deprecate spacemeshos/post or at least most of the repo. For initialization I would like to see the post-service taking over this responsibility.

A smesher who runs the post-service on a dedicated machine can start the post service with the initialization parameters they want (essentially moving the functionality form postcli there) and for smapp users the node can use the service binary to do this.