move builtin commands out of list.ts into their own files

This commit is contained in:
2025-02-22 01:16:37 -05:00
parent c5692b1b7f
commit 1fe21b1592
6 changed files with 67 additions and 55 deletions

View File

@ -0,0 +1,11 @@
import type { Args, Term } from "../list";
export default function ls(term: Term, args: Args): boolean {
// if (args[1] === undefined) {
// for (const dir_name in working_dir) {
// }
// return <p>{`${working_dir}`}</p>
// }
return true
}