π A personal CLI to bootstrap new projects. It offers the choice between three templates:
- Javascript
- Typescript
- dummy-startup-kit
The first two ones are embedded: they can be installed only with the present starter kit.
The last one is a standalone boilerplate. It can also be installed with git clone
.
None of them are production ready. They are just toys for this CLI npm package.
Furthermore, as this CLI itself is a sandbox, breaking changes can occur at any time. Or even it can be removed, plain and simple.
It's a fork of Dominik Kundel's create-project.
This sandbox is a POC for integration of:
- languages Typescript and Ecmascript 2018 working together, thanks to Babel 7;
- integration tests with Mocha and spawn,
- cross-platform scripts (Linux, Windows, OS X).
The next step would be to extricate the embedded templates from the cli itself:
- each template should be installable with
git clone
, - but keep a clear link with the cli. To make it through, a monorepo would be used.
Install @atao60/create-project
as a global CLI:
npm install -g @atao60/create-project
create-project
Or just use it via npx
(or npm init
):
npx @atao60/create-project
### or
# npm init @atao60/project
This will start the CLI and ask for questions about which template to duplicate and how to customize it!
See Contributing.
- Initial code: Dominik Kundel hi@dominik.dev
- Current sandbox: Pierre Raoul atao60.web@gmail.com
- How to build a CLI with Node.js, Dominik Kundel, 2019-03-19
See also other credits.