diff --git a/src/shell/wush/Wush.ts b/src/shell/wush/Wush.ts index fab3e62..135f1ee 100644 --- a/src/shell/wush/Wush.ts +++ b/src/shell/wush/Wush.ts @@ -1,19 +1,21 @@ -// Web-Uno Shell -// the best name I could come up with lol +import { Terminal } from '../../terminal/Terminal' +import type { CursorPosition } from '../../terminal/CursorProperties' +import { EventBroadcaster } from '../../utils/EventBroadcaster' +import { SimpleStream } from '../../utils/SimpleStream' +import { Shell } from '../Shell' +import { Item } from '../../fs/Item' +import { Environment } from './Environment' +import { InputManager } from './InputManager' +// import programs import { Clear } from '../../program/Clear' import { Eval } from '../../program/Eval' import { Loadprg } from '../../program/Loadprg' import { Lsprg } from '../../program/Lsprg' import { Info } from '../../program/Info' import { Program } from '../../program/Program' -import { Terminal } from '../../terminal/Terminal' -import type { CursorPosition } from '../../terminal/CursorProperties' -import { EventBroadcaster } from '../../utils/EventBroadcaster' -import { SimpleStream } from '../../utils/SimpleStream' -import { Shell } from '../Shell' -import { Ls } from '../../program/Ls' -import { Item } from '../../fs/Item' +import { Edit } from '../../program/Edit' +import { Mv } from '../../program/Mv' import { Touch } from '../../program/Touch' import { Sl } from '../../program/Sl' import { Rm } from '../../program/Rm' @@ -25,11 +27,15 @@ import { Mkdir } from '../../program/Mkdir' import { Cd } from '../../program/Cd' import { Printf } from '../../program/Printf' import { Pwd } from '../../program/Pwd' -import { Environment } from './Environment' -import { InputManager } from './InputManager' -import { Edit } from '../../program/Edit' -import { Mv } from '../../program/Mv' +import { Ls } from '../../program/Ls' +import { Cp } from '../../program/Cp' +import { Tree } from '../../program/Tree' +/** + * Web-Uno Shell + * - the best name I could come up with lol + * @description serves as the default shell idk + */ export class Wush extends Shell { public readonly Version = "0.3.2" public readonly Name = "wush" @@ -96,6 +102,8 @@ export class Wush extends Shell { this.programs['printf'] = new Printf() this.programs['edit'] = new Edit() this.programs['mv'] = new Mv() + this.programs['cp'] = new Cp() + this.programs['tree'] = new Tree() // reset exit code this.SetExitCode(0)