Skip to Main Content

Quick demo

BioDrop CLI demo

What is BioDrop CLI?

BioDrop CLI is a command line tool that helps us create a JSON and update an existing JSON file for your BioDrop profile. We can also give testimonials to other BioDrop profiles and add events.

Also the BioDrop CLI is 100% Open Source, you can check it out here and leave a ⭐ if you like it and want to support it.

Installation and using the CLI

  1. Make sure you have forked and cloned the BioDrop repository and have installed the dependencies with
npm ci
  1. To trigger the CLI, run the following command in the root directory of the project.
npm run cli
  • When we run the above command it will run npx biodrop-cli. We use npx to run the CLI without installing it globally.
  1. You will then be prompted with several options. You can use the arrow keys to navigate and press enter to select the task you want to perform and then you will be prompted with the questions.

BioDrop CLI main prompt

  1. Once you are done with the questions, it will create the JSON file depending on the task you selected. For example, if you selected Create a BioDrop JSON file, it will create a JSON file in the data/ directory. You will also get a message in the terminal. Something similar to the following image.

BioDrop CLI JSON file created

  1. Once the JSON file is created by the CLI, you can commit the changes by the commit message that starts with data: followed by your GitHub username (for example, data: Pradumnasaraf). Then you can push the changes to your forked repository and create a pull request.

Feedback

If you find any kind of bug you can use the 5th option 🐛 Report a bug in the main prompt to report the bug. You can also create an issue in the BioDrop CLI repository.