Replies: 1 comment
-
I think this is a great idea. I'm definitely down for having a standardized naming convention
This is tricky since some commands don't finish (e.g chain). We tried something like this recently (using https://www.npmjs.com/package/stmux + https://www.npmjs.com/package/wait-on): it was great, but poor Windows support for people not using WSL :( e.g.
Yes, I think the current commands |
Beta Was this translation helpful? Give feedback.
-
When running
yarn run
I see different commands, some with<package>:
prefix and some without. Also, some subgraph specific commands seem to follow the patternnode-<command>
.I suggest to come up with a unified naming convention for these top-level commands:
Exceptions are commands that span across multiple packages or are reserved words:
precommit
,postinstall
, etc.test
(should also run subgraph and nextjs tests if there are any),dev
(should spin up a local dev environment, e.g. runninghardhat:chain
,hardhat:deploy
,nextjs:dev
sequentially), etc.Thoughts, objections?
Maybe it makes sense to have a third category of exceptions which would be "getting started or happy path commands"
Beta Was this translation helpful? Give feedback.
All reactions