create-kapp v2.1.9
KAPP - Kickstart Your Project with Ease š
KAPP is a CLI tool designed to help you quickly set up your projects using pre-defined templates. Whether you're starting a new Next.js app, Discord bot, or any general project, KAPP has got you covered with streamlined setup, customization, and user-friendly interactions.
npm i create-kapp@latest -gFeatures š
- Template Categories: Choose from categories such as Next.js, Discord.js, and General.
- Quickstart Templates: Select predefined project templates like NextTemplate, APITemplate, DJS14Template, and more.
- Interactive UI: Styled UI powered by prompts and kolorist for a smooth and visually appealing experience.
- Hyperlinks: Clickable links to helpful resources like GitHub repositories and websites.
- Customization: Easily extend KAPP by adding new templates and options.
Getting Started š ļø
Prerequisites
Installation
Clone the repository:
git clone https://github.com/kars1996/create-kapp.git cd kapp-cliInstall the required dependencies:
npm installCompile the TypeScript code:
npm run buildOptionally, link the CLI globally (recommended for easier access):
npm link
Usage
Once the CLI is installed, you can start using KAPP to initialize your projects:
Start the CLI by running:
create-kappFollow the prompts to select your template category and template, and provide a file path for your project.
Watch as KAPP downloads and initializes the template for you!
Customizing Templates š§©
KAPP is designed to be flexible and easy to extend. To add new templates:
- Navigate to
src/index.ts. - Add your new template to the
templateOptionsobject under the appropriate category. - Customize the prompts and project initialization logic as needed.
File Structure
kapp-cli/
āāā src/
ā āāā download.ts # Handles downloading and extracting project templates.
ā āāā index.ts # Main CLI logic and user interaction.
ā āāā ui.ts # Custom UI elements and interactions.
āāā package.json # NPM dependencies and scripts.
āāā tsconfig.json # TypeScript configuration.
āāā README.md # Project documentation (you are here).1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago