adityashinde 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +132 -14
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,24 +1,142 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const readline = require("readline")
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
function header() {
|
|
6
|
+
console.clear()
|
|
7
|
+
console.log(`
|
|
6
8
|
────────────────────────────────
|
|
7
9
|
Aditya Shinde
|
|
8
|
-
Web Designer
|
|
10
|
+
Founder, Web Designer at Kala
|
|
9
11
|
────────────────────────────────
|
|
12
|
+
`)
|
|
13
|
+
}
|
|
10
14
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
function intro() {
|
|
16
|
+
header()
|
|
17
|
+
console.log(`
|
|
18
|
+
I design and build clean, modern web experiences
|
|
19
|
+
with a strong focus on UI, motion, and systems.
|
|
16
20
|
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
Type one of the following and press Enter:
|
|
22
|
+
about
|
|
23
|
+
website
|
|
24
|
+
github
|
|
25
|
+
socials
|
|
26
|
+
resume
|
|
27
|
+
help
|
|
28
|
+
exit
|
|
29
|
+
`)
|
|
30
|
+
}
|
|
19
31
|
|
|
20
|
-
|
|
21
|
-
|
|
32
|
+
function about() {
|
|
33
|
+
header()
|
|
34
|
+
console.log(`
|
|
35
|
+
About
|
|
36
|
+
─────
|
|
37
|
+
I’m Aditya Shinde, a web designer & front-end developer
|
|
38
|
+
focused on minimal UI, motion, and modern systems.
|
|
22
39
|
|
|
23
|
-
|
|
40
|
+
Portfolio : https://www.adityashinde.in
|
|
41
|
+
Studio : https://www.trykala.com
|
|
42
|
+
Location : India
|
|
43
|
+
`)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function website() {
|
|
47
|
+
header()
|
|
48
|
+
console.log(`
|
|
49
|
+
Website
|
|
50
|
+
───────
|
|
51
|
+
https://www.adityashinde.in
|
|
24
52
|
`)
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function github() {
|
|
56
|
+
header()
|
|
57
|
+
console.log(`
|
|
58
|
+
GitHub
|
|
59
|
+
──────
|
|
60
|
+
https://github.com/adityashinde-in
|
|
61
|
+
`)
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function socials() {
|
|
65
|
+
header()
|
|
66
|
+
console.log(`
|
|
67
|
+
Socials
|
|
68
|
+
───────
|
|
69
|
+
LinkedIn : https://linkedin.com/in/adityashinde-in
|
|
70
|
+
Instagram : https://instagram.com/adityashinde_in
|
|
71
|
+
`)
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
function resume() {
|
|
75
|
+
header()
|
|
76
|
+
console.log(`
|
|
77
|
+
Resume
|
|
78
|
+
──────
|
|
79
|
+
Available on my website:
|
|
80
|
+
https://www.adityashinde.in
|
|
81
|
+
`)
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function help() {
|
|
85
|
+
header()
|
|
86
|
+
console.log(`
|
|
87
|
+
Commands:
|
|
88
|
+
about → About me
|
|
89
|
+
website → Portfolio
|
|
90
|
+
github → GitHub profile
|
|
91
|
+
socials → Social links
|
|
92
|
+
resume → Resume
|
|
93
|
+
exit → Quit
|
|
94
|
+
`)
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
const rl = readline.createInterface({
|
|
98
|
+
input: process.stdin,
|
|
99
|
+
output: process.stdout,
|
|
100
|
+
prompt: "> "
|
|
101
|
+
})
|
|
102
|
+
|
|
103
|
+
intro()
|
|
104
|
+
rl.prompt()
|
|
105
|
+
|
|
106
|
+
rl.on("line", (input) => {
|
|
107
|
+
const command = input.trim().toLowerCase()
|
|
108
|
+
|
|
109
|
+
switch (command) {
|
|
110
|
+
case "about":
|
|
111
|
+
about()
|
|
112
|
+
break
|
|
113
|
+
case "website":
|
|
114
|
+
website()
|
|
115
|
+
break
|
|
116
|
+
case "github":
|
|
117
|
+
github()
|
|
118
|
+
break
|
|
119
|
+
case "socials":
|
|
120
|
+
socials()
|
|
121
|
+
break
|
|
122
|
+
case "resume":
|
|
123
|
+
resume()
|
|
124
|
+
break
|
|
125
|
+
case "help":
|
|
126
|
+
help()
|
|
127
|
+
break
|
|
128
|
+
case "exit":
|
|
129
|
+
rl.close()
|
|
130
|
+
return
|
|
131
|
+
default:
|
|
132
|
+
console.log("Unknown command. Type help to see options.")
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
rl.prompt()
|
|
136
|
+
})
|
|
137
|
+
|
|
138
|
+
rl.on("close", () => {
|
|
139
|
+
console.clear()
|
|
140
|
+
console.log("Thanks for stopping by 👋")
|
|
141
|
+
process.exit(0)
|
|
142
|
+
})
|