cli-courses-manager
v1.0.1
Published
cli tool to manage courses like add course and show list all courses
Readme
cli-courses-manager
cli-courses-manager is a simple command-line tool to manage courses.
You can easily add, delete, update, and list courses directly from your terminal.
This project was built using:
- Commander → To handle CLI commands
- Inquirer → To ask interactive questions (title, price, etc.)
- fs → To store and manage courses locally
Features
- 📌 Add a new course (asks for title and price)
- 🗑️ Delete a course by title
- ✏️ Update an existing course
- 📋 List all courses with their details
- 💾 Data is saved locally using
fs
Languages & Tech Stack
- JavaScript (ES6)
- Node.js
🔗 Links
- Direct npm package link → https://www.npmjs.com/package/cli-courses-manager
- Your GitHub repo link → https://github.com/Abdelmagidawad/cli-courses-manager
Installation
- Install the package from npm and Usage :
- Install the package globally from npm:
npm install -g cli-courses-manager
- After installation, you can use the command:
cli-courses-manager
## Usage ##
- The main command is:
cli-courses-manager <command>
## Available Commands ##
1. Add a course
cli-courses-manager add
2. Delete a course
cli-courses-manager delete
3. Update a course
cli-courses-manager update
4. List all courses
cli-courses-manager list
