npm init has a new option to create a project with a template: https://docs.npmjs.com/cli/init
It would be super cool if someone could just npm init @dadi or npm init @dadi/cli (which would require the projects @dadi/create or @dadi/create-cli respectively), with the correct binaries in place to do the creation. This would just do the npm init and fill in the blanks. We could even do a full-project thing, installing everything already hooked together for a much easier start.
Currently what we can do however without installing CLI is to use npx, so for example for Web:
npx -p @dadi/cli dadi web new
npm inithas a new option to create a project with a template: https://docs.npmjs.com/cli/initIt would be super cool if someone could just
npm init @dadiornpm init @dadi/cli(which would require the projects@dadi/createor@dadi/create-clirespectively), with the correct binaries in place to do the creation. This would just do thenpm initand fill in the blanks. We could even do a full-project thing, installing everything already hooked together for a much easier start.Currently what we can do however without installing CLI is to use
npx, so for example for Web:npx -p @dadi/cli dadi web new