Skip to content

Commit

Permalink
chore: Add emoji to main prompt choices (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradumnasaraf authored Mar 18, 2023
1 parent 134313a commit 3f06536
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#! /usr/bin/env node

const fs = require("fs");
const chalk = require("chalk");
const { prompt } = require("enquirer");
Expand All @@ -12,10 +13,10 @@ console.log(
);

const choices = [
"Create a LinkFree JSON file",
"Update an existing JSON file",
"Provide a testimonial to a LinkFree user",
"Add an event",
"🔗 Create a LinkFree JSON file",
"🔧 Update an existing JSON file",
"🤝 Provide a testimonial to a LinkFree user",
"📅 Add an event",
"🐛 Report a bug",
];

Expand All @@ -30,19 +31,19 @@ prompt([
.then(async (answers) => {
const { selectedtask } = answers;
switch (selectedtask) {
case "Create a LinkFree JSON file": {
case "🔗 Create a LinkFree JSON file": {
createJson();
break;
}
case "Update an existing JSON file": {
case "🔧 Update an existing JSON file": {
checkUpdate();
break;
}
case "Provide a testimonial to a LinkFree user": {
case "🤝 Provide a testimonial to a LinkFree user": {
giveTestimonial();
break;
}
case "Add an event": {
case "📅 Add an event": {
addEvent();
break;
}
Expand Down

0 comments on commit 3f06536

Please sign in to comment.