Skip to content

Commit 516552f

Browse files
committed
📦NEW: cases
1 parent 7ad8aae commit 516552f

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎utils/options.js‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ const io = require("console-read-write");
22
const email = require("./getEmail");
33
const stars = require("./getStargazer");
44
const exit = require("./exit");
5+
const repo = require("./createRepo");
56
const chalk = require("chalk");
67

78
module.exports = async () => {
89
io.write(
910
chalk.green("\nEnter any option: \n") +
1011
chalk.yellow(
11-
"1. Get Email of any GitHub User\n2. Get Stargazers of any GitHub Repo\n3. Open an Issue in any GitHub Repo\n4. Exit\n\n"
12+
"1. Get Email of any GitHub User\n2. Get Stargazers of any GitHub Repo\n3. Open an Issue in any GitHub Repo\n4. Create a GitHub Repo\n5. Exit\n\n"
1213
)
1314
);
1415
io.write(chalk.green("> Enter the option number: "));
@@ -21,7 +22,12 @@ module.exports = async () => {
2122
case "2":
2223
stars();
2324
break;
25+
case "3":
26+
break;
2427
case "4":
28+
repo();
29+
break;
30+
case "5":
2531
exit();
2632
default:
2733
break;

0 commit comments

Comments
 (0)