dwp-kit
v1.2.1
Published
**dwp-kit** is a CLI tool for installing reusable snippets and initializing project boilerplates. Snippets are fetched from a central registry and installed directly into your codebase, making them fully customizable.
Readme
DWP Kit
dwp-kit is a CLI tool for installing reusable snippets and initializing project boilerplates. Snippets are fetched from a central registry and installed directly into your codebase, making them fully customizable.
Features
- Initialize new projects using boilerplates
- Browse available snippets
- Install snippets directly into your project
Installation
npm install -g dwp-kitAuthentication
Before using dwp-kit, you need to log in:
npx dwp-kit loginYou will be prompted for:
- Password
Your session will be stored locally.
Commands
Login
Login to dwp-kit library.
npx dwp-kit loginLogout
Logout from dwp-kit library.
npx dwp-kit logoutList Boilerplates
Show all available boilerplates.
npx dwp-kit boilerplatesInitialize Project
Initialize a new project using boilerplate.
npx dwp-kit init <boilerplate-name>List Snippets
Show all available snippets.
npx dwp-kit snippetsAdd Snippet
Install a snippet into your project.
npx dwp-kit add <snippet-name>Example:
npx dwp-kit add data-tableThis will:
- Fetch the snippet from the registry
- Run required setup steps
- Create the snippet file in your project
