move components/client to rt (runtime) directory
This commit is contained in:
9
src/rt/shell/command/builtin/pwd.ts
Normal file
9
src/rt/shell/command/builtin/pwd.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { get_working_dir_name_full } from "../../fs/fn";
|
||||
import type { Args, Term } from "../list";
|
||||
|
||||
import stdout from "../../../elements/stdout";
|
||||
|
||||
export default function pwd(term: Term, args: Args): boolean {
|
||||
term.appendChild(stdout(get_working_dir_name_full()))
|
||||
return true
|
||||
}
|
Reference in New Issue
Block a user