diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b1ba028..4693053 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,7 +17,7 @@ ## 💥 How to Contribute -- Look at the existing [**Issues**](https://github.com/Pradumnasaraf/LinkFree-CLI/issues) or [**create a new issue**](https://github.com/Pradumnasaraf/LinkFree-CLI/issues/new/choose)! -- [**Fork the Repo**](https://github.com/Pradumnasaraf/LinkFree-CLI/fork). Then, create a branch for any issue that you are working on. Finally, commit your work. -- Create a **[Pull Request](https://github.com/Pradumnasaraf/LinkFree-CLI/compare)** (_PR_), which will be promptly reviewed and given suggestions for improvements by the community. +- Look at the existing [**Issues**](https://github.com/Pradumnasaraf/BioDrop-CLI/issues) or [**create a new issue**](https://github.com/Pradumnasaraf/BioDrop-CLI/issues/new/choose)! +- [**Fork the Repo**](https://github.com/Pradumnasaraf/BioDrop-CLI/fork). Then, create a branch for any issue that you are working on. Finally, commit your work. +- Create a **[Pull Request](https://github.com/Pradumnasaraf/BioDrop-CLI/compare)** (_PR_), which will be promptly reviewed and given suggestions for improvements by the community. - Add screenshots or screen captures to your Pull Request to help us understand the effects of the changes proposed in your PR. diff --git a/README.md b/README.md index e6ef16c..be96f5b 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,30 @@ -

LinkFree CLI

+

BioDrop CLI

-**LinkFree CLI** is a command line tool that helps us to create and update your **[LinkFree](https://github.com/EddieHubCommunity/LinkFree)** profile through CLI. We can also give testimonials and add events through it. +**BioDrop CLI** is a command line tool that helps us to create and update your **[BioDrop](https://github.com/EddieHubCommunity/BioDrop)** profile through CLI. We can also give testimonials and add events through it.
-[![NPM Package](https://github.com/Pradumnasaraf/LinkFree-CLI/actions/workflows/publish.yml/badge.svg)](https://github.com/Pradumnasaraf/LinkFree-CLI/actions/workflows/publish.yml) -[![Releases](https://github.com/Pradumnasaraf/LinkFree-CLI/actions/workflows/releases.yml/badge.svg)](https://github.com/Pradumnasaraf/LinkFree-CLI/actions/workflows/releases.yml) -[![Npm package total downloads](https://badgen.net/npm/dt/linkfree-cli)](https://npmjs.com/package/linkfree-cli) +[![NPM Package](https://github.com/Pradumnasaraf/BioDrop-CLI/actions/workflows/publish.yml/badge.svg)](https://github.com/Pradumnasaraf/BioDrop-CLI/actions/workflows/publish.yml) +[![Releases](https://github.com/Pradumnasaraf/BioDrop-CLI/actions/workflows/releases.yml/badge.svg)](https://github.com/Pradumnasaraf/BioDrop-CLI/actions/workflows/releases.yml) +[![Npm package total downloads](https://badgen.net/npm/dt/biodrop-cli)](https://npmjs.com/package/biodrop-cli)
-![LinkFree CLI demo GIF](https://user-images.githubusercontent.com/51878265/226284599-5702dfd2-0825-471f-a693-8a216c2d7cfe.gif) +![BioDrop CLI demo GIF](https://user-images.githubusercontent.com/51878265/226284599-5702dfd2-0825-471f-a693-8a216c2d7cfe.gif) ### ⭐️ Features -- Creating a LinkFree profile. -- Searching for a LinkFree profile. -- Updating an existing LinkFree profile. -- Giving a testimonial to a LinkFree profile. +- Creating a BioDrop profile. +- Searching for a BioDrop profile. +- Updating an existing BioDrop profile. +- Giving a testimonial to a BioDrop profile. - Adding events (conferences, meetups, etc). ### 👨‍💻 Using the CLI tool -To create, update, give a testimonial, etc. Check out this detailed documentation - [linkfree.io/docs/environments/linkfree-cli](https://linkfree.io/docs/environments/linkfree-cli) +To create, update, give a testimonial, etc. Check out this detailed documentation - [BioDrop.io/docs/environments/BioDrop-cli](https://BioDrop.io/docs/environments/BioDrop-cli) ### 📦 Development and Contribution @@ -48,7 +48,7 @@ npm run start Gitpod is the easiest way to set up the project development environment. Click on the button below, and it will set everything up for you. -[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/Pradumnasaraf/LinkFree-CLI) +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/Pradumnasaraf/BioDrop-CLI) ### 📝 License diff --git a/package-lock.json b/package-lock.json index 16827b8..5da7eed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "linkfree-cli", + "name": "biodrop-cli", "version": "2.5.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "linkfree-cli", + "name": "biodrop-cli", "version": "2.5.0", "license": "GPL-3.0", "dependencies": { @@ -18,7 +18,7 @@ "react-icons": "^4.9.0" }, "bin": { - "linkfree-cli": "src/index.js" + "biodrop-cli": "src/index.js" }, "devDependencies": { "eslint": "^8.43.0", diff --git a/package.json b/package.json index 7cc2304..929f4da 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "type": "module", - "name": "linkfree-cli", + "name": "biodrop-cli", "version": "2.5.1", - "description": "Generate LinkFree profile.json file via CLI", + "description": "Generate BioDrop profile.json file via CLI", "main": "src/index.js", "bin": "src/index.js", "scripts": { @@ -12,8 +12,8 @@ "lint:fix": "eslint --fix ." }, "keywords": [ - "LinkFree-cli", - "LinkFree" + "BioDrop-cli", + "BioDrop" ], "files": [ "src", @@ -38,10 +38,10 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/Pradumnasaraf/LinkFree-CLI.git" + "url": "git+https://github.com/Pradumnasaraf/BioDrop-CLI.git" }, "bugs": { - "url": "https://github.com/Pradumnasaraf/LinkFRee-CLI.git/issues" + "url": "https://github.com/Pradumnasaraf/BioDrop-CLI.git/issues" }, "engines": { "node": ">=18.0.0" diff --git a/src/addevent/addEvent.js b/src/addevent/addEvent.js index b3d19be..5e7fc9c 100644 --- a/src/addevent/addEvent.js +++ b/src/addevent/addEvent.js @@ -22,7 +22,7 @@ const addEvent = async () => { } else if (!fs.existsSync(`./data/${eventWriter}.json`)) { console.log( chalk.black.bgYellow( - ` You don't have a LinkFree JSON file!. Create an account first! ` + ` You don't have a BioDrop JSON file!. Create an account first! ` ) ); process.exit(0); diff --git a/src/addevent/helper/createEventFile.js b/src/addevent/helper/createEventFile.js index 64311ef..91bfc2e 100644 --- a/src/addevent/helper/createEventFile.js +++ b/src/addevent/helper/createEventFile.js @@ -119,7 +119,7 @@ function createEventFile(eventWriter, answers) { } else { console.log( chalk.black.bgYellow( - ` You are not in the root directory of LinkFree. Try again! ` + ` You are not in the root directory of BioDrop. Try again! ` ) ); process.exit(0); diff --git a/src/createjson/helper/createUser.js b/src/createjson/helper/createUser.js index 04dd69b..19558a9 100644 --- a/src/createjson/helper/createUser.js +++ b/src/createjson/helper/createUser.js @@ -27,7 +27,7 @@ async function createUser(githubUsername, answers) { if (err) { console.log( chalk.black.bgYellow( - ` You are not in the root directory of LinkFree. Try again! ` + ` You are not in the root directory of BioDrop. Try again! ` ) ); process.exit(0); diff --git a/src/givetestimonial/giveTestimonial.js b/src/givetestimonial/giveTestimonial.js index 82ddd19..4578150 100644 --- a/src/givetestimonial/giveTestimonial.js +++ b/src/givetestimonial/giveTestimonial.js @@ -26,7 +26,7 @@ async function givetestimonial() { } else if (!fs.existsSync(`./data/${githubUsername}.json`)) { console.log( chalk.black.bgYellow( - ` You don't have a LinkFree JSON file!. Create an account first! ` + ` You don't have a BioDrop JSON file!. Create an account first! ` ) ); process.exit(0); @@ -49,7 +49,7 @@ async function givetestimonial() { } else if (!fs.existsSync(`./data/${githubUsername}.json`)) { console.log( chalk.black.bgYellow( - ` The person you want to give a testimonial to doesn't have a LinkFree JSON file!. Ask them to create an account first! ` + ` The person you want to give a testimonial to doesn't have a BioDrop JSON file!. Ask them to create an account first! ` ) ); process.exit(0); diff --git a/src/givetestimonial/helper/createTestimonialFile.js b/src/givetestimonial/helper/createTestimonialFile.js index c934f82..bee0c81 100644 --- a/src/givetestimonial/helper/createTestimonialFile.js +++ b/src/givetestimonial/helper/createTestimonialFile.js @@ -17,7 +17,7 @@ async function createtestimonialfile( const json = jsonFormat(jsonSchema, { type: "space", size: 2 }); - // Check if we are in the root directory of LinkFree + // Check if we are in the root directory of BioDrop if (fs.existsSync("./data")) { // Check if user reciving the testimonial has a "testimonials" directory. if (fs.existsSync(`./data/${testimonialReceiver}/testimonials`)) { @@ -81,7 +81,7 @@ async function createtestimonialfile( } else { console.log( chalk.black.bgYellow( - ` You are not in the root directory of LinkFree. Try again! ` + ` You are not in the root directory of BioDrop. Try again! ` ) ); process.exit(0); diff --git a/src/index.js b/src/index.js index c1f5d9b..80e113c 100755 --- a/src/index.js +++ b/src/index.js @@ -10,14 +10,14 @@ import reportBug from "./reportbug/reportBug.js"; import searchProfile from "./searchprofile/searchProfile.js"; console.log( - chalk.black.bgYellow(` Welcome to LinkFree CLI! Let's get started. `) + chalk.black.bgYellow(` Welcome to BioDrop CLI! Let's get started. `) ); const choices = [ - "Create a LinkFree JSON file", - "Search for a LinkFree user", + "Create a BioDrop JSON file", + "Search for a BioDrop user", "Update an existing JSON file", - "Provide a testimonial to a LinkFree user", + "Provide a testimonial to a BioDrop user", "Add an event", "Report a bug", ]; @@ -34,11 +34,11 @@ enquirer .then(async (answers) => { const { selectedtask } = answers; switch (selectedtask) { - case "Create a LinkFree JSON file": { + case "Create a BioDrop JSON file": { createJson(); break; } - case "Search for a LinkFree user": { + case "Search for a BioDrop user": { searchProfile(); break; } @@ -46,7 +46,7 @@ enquirer checkUpdate(); break; } - case "Provide a testimonial to a LinkFree user": { + case "Provide a testimonial to a BioDrop user": { giveTestimonial(); break; } diff --git a/src/reportbug/reportBug.js b/src/reportbug/reportBug.js index ae71ecd..21c7c38 100644 --- a/src/reportbug/reportBug.js +++ b/src/reportbug/reportBug.js @@ -39,7 +39,7 @@ function urlBuilder(username, title, description) { title = title.replace(/\s/g, "+"); description = description.replace(/\s/g, "+"); - let customUrl = `https://github.com/Pradumnasaraf/LinkFree-CLI/issues/new?assignees=&labels=bug&template=bug.yaml&title=${title}+Report+by+@${username}&description=${description}`; + let customUrl = `https://github.com/Pradumnasaraf/BioDrop-CLI/issues/new?assignees=&labels=bug&template=bug.yaml&title=${title}+Report+by+@${username}&description=${description}`; return customUrl; } diff --git a/src/searchprofile/searchProfile.js b/src/searchprofile/searchProfile.js index e17e1c2..96ec5cf 100644 --- a/src/searchprofile/searchProfile.js +++ b/src/searchprofile/searchProfile.js @@ -39,7 +39,7 @@ const usernameValidation = () => { .then(async (res) => { if (res.status === 200) { await axios - .get(`https://linkfree.io/api/profiles/${githubUsername}`) + .get(`https://biodrop.io/api/profiles/${githubUsername}`) .then((res) => { if (res.status === 200) { displayData(res.data); @@ -48,7 +48,7 @@ const usernameValidation = () => { .catch(() => { console.log( chalk.white.bgRed.bold( - ` LinkFree profile not found with ${githubUsername}! ` + ` BioDrop profile not found with ${githubUsername}! ` ) ); process.exit(0); @@ -70,7 +70,7 @@ const usernameValidation = () => { function displayData(data) { // Welcome block const rainbow = chalkAnimation.karaoke( - `\nHi, welcome to ${data.name}'s (${data.username}) LinkFree profile!\n` + `\nHi, welcome to ${data.name}'s (${data.username}) BioDrop profile!\n` ); setTimeout(() => { rainbow.start();