UNPKG

create-pilet

Version:

The NPM initializer to scaffold a new pilet for an existing Piral instance.

32 lines (18 loc) 1.49 kB
[![Piral Logo](https://github.com/smapiot/piral/raw/main/docs/assets/logo.png)](https://piral.io) # [Create Pilet](https://piral.io) · [![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smapiot/piral/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/create-pilet.svg?style=flat)](https://www.npmjs.com/package/create-pilet) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://jestjs.io) [![Community Chat](https://dcbadge.vercel.app/api/server/kKJ2FZmK8t?style=flat)](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).