- initial changes to data shapes

- ls command needs fixing
This commit is contained in:
2026-09-03 11:15:05 +02:00
parent 2e9227f6d8
commit 8a349330b0
12 changed files with 42 additions and 127 deletions
+1 -6
View File
@@ -3,12 +3,7 @@ import type { Result } from "./result";
import type { ShellState } from "./shell_state";
import type { ShellError } from "./util/errors";
export type CommandFn = (
io: CommandIO,
state: ShellState,
flags: string[],
args: string[],
) => Promise<CommandOutput<ShellError>>;
export type CommandFn = (io: CommandIO, state: ShellState, args: string[]) => Promise<CommandOutput<ShellError>>;
export interface CommandDescriptor {
fn: CommandFn;