iad1tya 1.0.0 → 1.0.1
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/bin/index.js +5 -5
- package/package.json +1 -1
- package/utils/terminal.js +1 -1
package/bin/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
|
|
31
31
|
import pkg from '../package.json' with { type: 'json' };
|
|
32
32
|
|
|
33
|
-
const APP_NAME = '
|
|
33
|
+
const APP_NAME = 'iad1tya';
|
|
34
34
|
const APP_VERSION = pkg.version;
|
|
35
35
|
const LAST_LOGIN = new Date().toLocaleString('en-US', {
|
|
36
36
|
weekday: 'short',
|
|
@@ -63,8 +63,8 @@ const COMMANDS = [
|
|
|
63
63
|
];
|
|
64
64
|
|
|
65
65
|
function printWelcomeFrame() {
|
|
66
|
-
printSection(`${APP_NAME}
|
|
67
|
-
'
|
|
66
|
+
printSection(`${APP_NAME}`, [
|
|
67
|
+
'Hi My self Aditya. Type help to see the available commands.',
|
|
68
68
|
'',
|
|
69
69
|
formatKeyValueLines([
|
|
70
70
|
['System ready', 'Type help to begin'],
|
|
@@ -218,7 +218,7 @@ function printPseudoFilesystem() {
|
|
|
218
218
|
function printNeofetch() {
|
|
219
219
|
const info = buildSystemInfo();
|
|
220
220
|
const systemBox = info.map(([label, value]) => `${label}: ${value}`).join('\n');
|
|
221
|
-
printSection('neofetch', ['aditya@
|
|
221
|
+
printSection('neofetch', ['aditya@iad1tya', '──────────────', systemBox]);
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
function printAccessGranted() {
|
|
@@ -325,7 +325,7 @@ async function handleCommand(input) {
|
|
|
325
325
|
async function bootSequence() {
|
|
326
326
|
clearTerminal();
|
|
327
327
|
|
|
328
|
-
const bootSpinner = ora({ text: 'Booting
|
|
328
|
+
const bootSpinner = ora({ text: 'Booting iad1tya shell' }).start();
|
|
329
329
|
await sleep(300);
|
|
330
330
|
bootSpinner.succeed('Boot sequence initialized');
|
|
331
331
|
|
package/package.json
CHANGED
package/utils/terminal.js
CHANGED
|
@@ -57,7 +57,7 @@ export function formatBulletLines(items, bullet = '•') {
|
|
|
57
57
|
|
|
58
58
|
export function buildSystemInfo() {
|
|
59
59
|
return [
|
|
60
|
-
['
|
|
60
|
+
['iad1tya', 'v1.0.0'],
|
|
61
61
|
['User', 'aditya'],
|
|
62
62
|
['Host', os.hostname()],
|
|
63
63
|
['Kernel', `${os.type()} ${os.release()}`],
|