bachelor-meal
Version:
The ultimate CLI tool for solo home cooks! π½οΈβ¨ Open cooking recipe PDFs with easeβperfect for beginners who want quick, delicious meals without the hassle. Cook effortlessly today!
174 lines (123 loc) β’ 7.46 kB
Markdown
# `bachelor-meal` CLI Tool π
<p align="center">
<img src="./assets/banner/bachelor-meal-banner.png" alt="bachelor-meal banner showcasing a simple CLI tool for solo home cooks" width="100%" />
</p>
<h1 align="center">bachelor-meal</h1>
<p align="center">
<strong>π½οΈ Simplify your cooking and enjoy delicious, hassle-free meals with just a few commands! π³</strong>
</p>
<p align="center">
<code>bachelor-meal</code> β A simple, beginner-friendly CLI tool designed for solo home cooks. It allows you to easily access cooking recipe PDFs for one-person meals with minimal hassle.
</p>
<p align="center">
<a href="https://www.npmjs.com/package/bachelor-meal" target="_blank" rel="noopener noreferrer">
<img src="https://img.shields.io/npm/v/bachelor-meal?label=npm%20version" alt="npm version" title="Current npm version" />
</a>
<a href="https://github.com/sajjad-developer/bachelor-meal/actions/workflows/ci.yml" target="_blank" rel="noopener noreferrer">
<img src="https://github.com/sajjad-developer/bachelor-meal/actions/workflows/ci.yml/badge.svg" alt="build status" title="Build status" />
</a>
<a href="https://github.com/sajjad-developer/bachelor-meal/blob/main/LICENSE" target="_blank" rel="noopener noreferrer">
<img src="https://img.shields.io/github/license/sajjad-developer/bachelor-meal?label=license" alt="license" title="License information" />
</a>
<a href="https://github.com/sajjad-developer/bachelor-meal/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22" target="_blank" rel="noopener noreferrer">
<img src="https://img.shields.io/github/issues/sajjad-developer/bachelor-meal/good%20first%20issue?label=good%20first%20issue" alt="good first issue" title="Good first issues" />
</a>
<a href="https://github.com/sajjad-developer/bachelor-meal/issues?q=is%3Aissue+is%3Aopen+label%3Ahelp-wanted" target="_blank" rel="noopener noreferrer">
<img src="https://img.shields.io/github/issues/sajjad-developer/bachelor-meal/help-wanted?label=help%20wanted" alt="help wanted" title="Help wanted issues" />
</a>
<a href="https://packagephobia.com/result?p=bachelor-meal" target="_blank" rel="noopener noreferrer">
<img src="https://packagephobia.com/badge?p=bachelor-meal" alt="install size" title="Install size (via PackagePhobia)" />
</a>
<!-- Add the npm downloads badge here -->
<a href="https://www.npmjs.com/package/bachelor-meal" target="_blank" rel="noopener noreferrer">
<img src="https://img.shields.io/npm/dt/bachelor-meal?label=total%20downloads" alt="total npm downloads" title="Total npm downloads" />
</a>
</p>
## Table of Contents
- [π Features](#-features)
- [π¦ Installation](#-installation)
- [π Node.js and VS Code Setup (for non-programmers)](#step-1-install-nodejs)
- [π Global Installation](#option-1-global-installation)
- [π Run Directly Using npx](#option-2-run-directly-using-npx)
- [π Usage](#-usage)
- [π Commands](#-commands)
- [π€ Contributing](#-contributing)
- [β Support My Work](#-support-my-work)
- [π License](#-license)
## π Features
- Quick access to one-person cooking recipes in PDF format.
- Recipes include:
- **Rice Cooking Manual**
- **Egg Frying Manual**
- **One-Person Single-Day Lentil Cooking Recipe**
- Simple command-line interface (CLI) with easy-to-remember commands.
## π¦ Installation
**Note**: If you're already familiar with **VS Code** and **Node.js**, you can skip the following installation steps and jump straight to the [Global Installation](#option-1-global-installation) or [Run Directly Using npx](#option-2-run-directly-using-npx) section.
Before using the **Bachelor Meal CLI Tool**, you'll need to have **Node.js** and **VS Code** installed on your computer. Follow the instructions below to set everything up.
### Step 1: Install Node.js
1. Visit the [Node.js download page](https://nodejs.org/).
2. Download the version labeled **LTS** (Long-Term Support).
3. Run the installer and follow the prompts to complete the installation.
You can verify that Node.js is installed by opening your terminal and typing the following command:
```bash
node -v
```
If you see the version number, Node.js is installed correctly.
### Step 2: Install VS Code (Visual Studio Code)
1. Visit the [VS Code download page](https://code.visualstudio.com/).
2. Download and install the appropriate version for your operating system.
3. Open VS Code after installation.
### Step 3: Open Your Project in VS Code
1. Open **VS Code**.
2. Click on **File** > **Open Folder...**.
3. Select the folder where you saved the **Bachelor Meal** project and click **Open**.
### Option 1: Global Installation
To install the Bachelor Meal CLI tool globally, run the following command in your terminal:
```bash
npm install -g bachelor-meal
```
### Option 2: Run Directly Using `npx`
Alternatively, you can run the tool directly using `npx` without installing it globally:
```bash
npx bachelor-meal <command>
```
## π Usage
After installing, you can use the tool directly from the command line. Running `bachelor-meal` without any arguments will display the following usage instructions:
```bash
$ bachelor-meal
Usage: bachelor-meal [options] [command]
Options:
-h, --help display help for command
Commands:
rice Open the Rice Cooking Manual PDF
egg Open the Egg Cooking Manual PDF
lentil Open the Lentil Cooking Manual PDF
help [command] display help for command
```
You can also use the following commands to open the corresponding recipe PDF:
- `bachelor-meal rice`: Opens the **Rice Cooking Manual PDF**
- `bachelor-meal egg`: Opens the **Egg Frying Manual PDF**
- `bachelor-meal lentil`: Opens the **One-Person Single-Day Lentil Cooking Recipe PDF**
For example, to open the Rice Cooking Manual:
```bash
bachelor-meal rice
```
The corresponding PDF will automatically open on your system.
## π Commands
- `bachelor-meal rice` β Opens the Rice Cooking Manual PDF
- `bachelor-meal egg` β Opens the Egg Frying Manual PDF
- `bachelor-meal lentil` β Opens the One-Person Single-Day Lentil Cooking Recipe PDF
## π€ Contributing
We welcome your contributions! Whether you're fixing bugs, suggesting new features, or improving documentation, your help is appreciated.
For detailed instructions on how to contribute to the project, please read the [CONTRIBUTING.md](./CONTRIBUTING.md) file.
If you encounter any bugs or have suggestions for improvements, please create an issue on GitHub.
> π‘ All contributions are voluntary.
> **Financial tips are a personal gesture to the maintainer and are not shared with contributors.**
## β Support My Work
β¨ This project is developed and maintained by me during my personal time.
If **bachelor-meal** has saved you time or improved your workflow, please consider leaving a **voluntary tip** to support ongoing development:
[](https://eco-starfish-coder.com/tip)
> β οΈ **Note:** Tips are optional and go directly to the maintainer (me).
> This project is open-source and free to use. Contributions are welcome, but not financially compensated.
## π License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.