import { Tty, wait } from "../Tty.ts";

window.Terminal.registerCommand("docker", async function (this: Tty, ...args) {
    switch (args[0]) {
        case "ps":
            this.print("CONTAINER ID | IMAGE | STATUS");
            await wait(500);
            this.print("ae349b10 | symfony_app | Up 10 years");
            this.print("f290cc11 | vue_frontend | Up 10 years");
            this.print("db118a22 | maria_db | Up 10 years");
            await wait(1500);
            return 0
    }
});
