Closed mutantcornholio closed 2 years ago
Fine by me
Fine with me too :)
Any opinions on compiling code on install vs. using ts-node
on execution?
I personally prefer compiling, but ts-node
seems to be more consistent with other configurations that we have.
I think I'll start with ts-node
, but that's easy enough to change at any moment, without breaking backwards-compatibility
While considering pathways to https://github.com/paritytech/opstooling/issues/125, I realised that we probably will have more than one shared script between projects.
WDYT on adding
bin
section to the package, with subcommands to later extension?I have something like this in mind:
package.json
:In terms of libraries, I'm a big fan of commander package, but anything aside from inventing it from scratch is fine by me.
I'm also open to other approaches for the sharing scripts problem.
cc/ @paritytech/opstooling