Skip to content

Commit 28ee3d8

Browse files
committed
📦NEW: html urls
1 parent 34bd0da commit 28ee3d8

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

utils/createIssue.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
const io = require("console-read-write");
9-
const { cyan } = require("chalk");
9+
const { cyan, green } = require("chalk");
1010
const box = require("./box");
1111
const axios = require("axios");
1212
const headers = require("./auth");
@@ -47,6 +47,9 @@ module.exports = async () => {
4747
const name = "👌 DONE";
4848
const msg = "Issue Successfully Created!!";
4949
box(name, msg);
50+
51+
io.write("");
52+
io.write(green(`Issue Link -> ${res.data.html_url}\n`));
5053
})
5154
.catch((err) => {
5255
const name = "⚠️ WARNING";

utils/createRepo.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
const io = require("console-read-write");
9-
const { cyan } = require("chalk");
9+
const { cyan, green } = require("chalk");
1010
const box = require("./box");
1111
const axios = require("axios");
1212
let { username, password } = require("./user");
@@ -54,6 +54,8 @@ module.exports = async () => {
5454
const name = "👌 DONE";
5555
const msg = "Repo Successfully Created!!";
5656
box(name, msg);
57+
io.write("");
58+
io.write(green(`Repo Link -> ${res.data.html_url}\n`));
5759
})
5860
.catch((err) => {
5961
const name = "⚠️ WARNING";

0 commit comments

Comments
 (0)