a bit of front-end work, changing users almost done on login, "drunk-code" no more (id hope), continuous processes and keybinds still not done.

This commit is contained in:
2026-03-19 17:52:36 +01:00
parent 18aeeb200f
commit c3f1af6818
14 changed files with 136 additions and 62 deletions
+4 -3
View File
@@ -1,12 +1,13 @@
import { isBuildCommand } from "typescript";
import type { KeyBind } from "../terminal/keybindRegistry";
import type { Bash, Result } from "./bash";
import { cd } from "./commands/cd";
import { clear } from "./commands/clear";
import { ls } from "./commands/ls";
import { aSync } from "./commands/testAsync";
import { testProcess } from "./commands/testAsync";
export type ICommand = {
method: (this: Bash, args: CommandArgs) => Promise<Result>;
method: (this: Bash, args: CommandArgs) => Result;
keybinds?: Map<KeyBind, () => any>;
flags: string[];
help: string;
@@ -28,7 +29,7 @@ export const COMMANDS = {
cd,
ls,
clear,
aSync
testProcess
} as const satisfies Record<string, ICommand>;
/* //export const commands {