januda-cli 1.0.3 → 1.1.5
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 +36 -13
- package/package.json +4 -8
- package/shani.png +0 -0
- package/shani1.png +0 -0
package/index.js
CHANGED
|
@@ -1,21 +1,44 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const command = process.argv[2];
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
switch (command) {
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
case "love":
|
|
8
|
+
console.log(`
|
|
9
|
+
💌 A Loving Note
|
|
9
10
|
|
|
10
|
-
|
|
11
|
-
part of my life.
|
|
11
|
+
My Love,
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
You are the most beautiful part of my life.
|
|
14
|
+
Every moment with you feels special,
|
|
15
|
+
and every day with you makes my world brighter.
|
|
14
16
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
Your smile brings me happiness,
|
|
18
|
+
and your presence fills my heart with peace.
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
No matter where life takes us,
|
|
21
|
+
you will always have a special place in my heart.
|
|
20
22
|
|
|
21
|
-
|
|
23
|
+
❤️ Forever yours
|
|
24
|
+
`);
|
|
25
|
+
break;
|
|
26
|
+
|
|
27
|
+
case "help":
|
|
28
|
+
console.log(`
|
|
29
|
+
Available commands:
|
|
30
|
+
|
|
31
|
+
januda love - show a loving message
|
|
32
|
+
januda help - show available commands
|
|
33
|
+
`);
|
|
34
|
+
break;
|
|
35
|
+
|
|
36
|
+
default:
|
|
37
|
+
console.log(`
|
|
38
|
+
Unknown command.
|
|
39
|
+
|
|
40
|
+
Type:
|
|
41
|
+
|
|
42
|
+
januda help
|
|
43
|
+
`);
|
|
44
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "januda-cli",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Januda
|
|
3
|
+
"version": "1.1.5",
|
|
4
|
+
"description": "Januda CLI command",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"januda": "./index.js"
|
|
@@ -9,12 +9,8 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
11
11
|
},
|
|
12
|
-
"keywords": [
|
|
13
|
-
"portfolio",
|
|
14
|
-
"cli",
|
|
15
|
-
"januda"
|
|
16
|
-
],
|
|
12
|
+
"keywords": ["cli","januda"],
|
|
17
13
|
"author": "Januda Janandith",
|
|
18
14
|
"license": "ISC",
|
|
19
15
|
"type": "commonjs"
|
|
20
|
-
}
|
|
16
|
+
}
|
package/shani.png
DELETED
|
Binary file
|
package/shani1.png
DELETED
|
Binary file
|