create-basic-web
v1.0.0
Published
A cli tool which will create a basic scaffold web application (basic html,css,javascript)
Downloads
77
Maintainers
Readme
create-basic-web
A CLI tool to scaffold a basic HTML folder structure with ease! Quickly generate a boilerplate structure for your web projects.
Features
- Creates a basic HTML folder structure
- Includes files like
index.html
,style.css
, andscript.js
- Interactive prompts for customization of file and folder names
Installation
Install the package globally using npm:
npm install -g create-basic-web
Usage
- Run the CLI tool:
create-basic-web
- Follow the prompts: The tool will ask for the following inputs
- Folder Name/project Name: Name of the folder where the structure will be created
Running CLI App...
✔ Enter the folder name: my-project
✔ Folder "my-project" created successfully.
✔ File "index.html" created successfully in "D:\Learning\nodejs\cli-learning\create-basic-web\my-project".
✔ File ".gitignore" created successfully in "D:\Learning\nodejs\cli-learning\create-basic-web\my-project".
⚠ Folder "my-project" already exists.
✔ File "README.md" created successfully in "D:\Learning\nodejs\cli-learning\create-basic-web\my-project".
⚠ Folder "my-project" already exists.
✔ Folder "css" created successfully.
✔ File "style.css" created successfully in "my-project\css".
✔ Folder "js" created successfully.
✔ File "script.js" created successfully in "my-project\js".
✔ Folder "assets" created successfully.
⚠ File "undefined" already exists.
✔ Folder "images" created successfully.
⚠ File "undefined" already exists.
✔ Folder "fonts" created successfully.
⚠ File "undefined" already exists.
All tasks completed!
- Navigate to the folder:
cd my-project
- Modify the app as per your wish.
Contribution
We welcome contributions! If you'd like to contribute to openweathermap-wrapper, please follow our Contribution Guidelines.
Author
License
This project is licensed under the MIT License - see the LICENSE file for details.