create-pilet
Version:
The NPM initializer to scaffold a new pilet for an existing Piral instance.
32 lines (18 loc) • 1.49 kB
Markdown
[](https://piral.io)
# [Create Pilet](https://piral.io) · [](https://github.com/smapiot/piral/blob/main/LICENSE) [](https://www.npmjs.com/package/create-pilet) [](https://jestjs.io) [](https://discord.gg/kKJ2FZmK8t)
`create-pilet` is a command-line tool that can also be used via NPM. It should make scaffolding a pilet as simple as possible.
## Usage
There are different ways of using it.
You can either install the tool globally and run it from there, or you use `npx` for this duty:
```sh
npx create-pilet
```
Alternatively, you can use `npm init` to run it.
```sh
npm init pilet
```
There are no command line parameters. Every input will be supplied via a command line prompt in an interactive manner. If you look for a tool to automate this (e.g., via command line parameters) use the `piral-cli`.
## Documentation
For details on the available commands check out the [documentation at Piral](https://docs.piral.io) or [on GitHub](https://github.com/smapiot/piral/tree/main/docs/commands).
## License
Piral is released using the MIT license. For more information see the [license file](./LICENSE).