File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,13 +2,14 @@ const io = require("console-read-write");
22const email = require ( "./getEmail" ) ;
33const stars = require ( "./getStargazer" ) ;
44const exit = require ( "./exit" ) ;
5+ const repo = require ( "./createRepo" ) ;
56const chalk = require ( "chalk" ) ;
67
78module . 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 ;
You can’t perform that action at this time.
0 commit comments