A lot of clean up
This commit is contained in:
parent
d89744f46f
commit
931fa141dc
62 changed files with 447 additions and 993 deletions
|
|
@ -92,8 +92,8 @@ if (window.terminal) {
|
|||
});
|
||||
|
||||
// Greet command
|
||||
window.terminal.registerCommand("greet", "Greet the user", (args) => {
|
||||
const name = args.length > 0 ? args.join(" ") : "User";
|
||||
window.terminal.printSuccess(`Hello, ${name}! Welcome to the terminal.`);
|
||||
});
|
||||
// window.terminal.registerCommand("greet", "Greet the user", (args) => {
|
||||
// const name = args.length > 0 ? args.join(" ") : "User";
|
||||
// window.terminal.printSuccess(`Hello, ${name}! Welcome to the terminal.`);
|
||||
// });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue