export const coreLoaders = [
    // Basic I/O
    {
        name: "echo",
        load: async () => (await import("../echo/echo.js")).echoCommand,
    },
    {
        name: "cat",
        load: async () => (await import("../cat/cat.js")).catCommand,
    },
    {
        name: "printf",
        load: async () => (await import("../printf/printf.js")).printfCommand,
    },
    {
        name: "git",
        load: async () => (await import("../git.js")).gitCommand,
    },
    // File operations
    {
        name: "ls",
        load: async () => (await import("../ls/ls.js")).lsCommand,
    },
    {
        name: "mkdir",
        load: async () => (await import("../mkdir/mkdir.js")).mkdirCommand,
    },
    {
        name: "rmdir",
        load: async () => (await import("../rmdir/rmdir.js")).rmdirCommand,
    },
    {
        name: "touch",
        load: async () => (await import("../touch/touch.js")).touchCommand,
    },
    {
        name: "rm",
        load: async () => (await import("../rm/rm.js")).rmCommand,
    },
    {
        name: "cp",
        load: async () => (await import("../cp/cp.js")).cpCommand,
    },
    {
        name: "mv",
        load: async () => (await import("../mv/mv.js")).mvCommand,
    },
    {
        name: "ln",
        load: async () => (await import("../ln/ln.js")).lnCommand,
    },
    {
        name: "chmod",
        load: async () => (await import("../chmod/chmod.js")).chmodCommand,
    },
    // Navigation
    {
        name: "pwd",
        load: async () => (await import("../pwd/pwd.js")).pwdCommand,
    },
    {
        name: "readlink",
        load: async () => (await import("../readlink/readlink.js")).readlinkCommand,
    },
    // File viewing
    {
        name: "head",
        load: async () => (await import("../head/head.js")).headCommand,
    },
    {
        name: "tail",
        load: async () => (await import("../tail/tail.js")).tailCommand,
    },
    {
        name: "wc",
        load: async () => (await import("../wc/wc.js")).wcCommand,
    },
    {
        name: "stat",
        load: async () => (await import("../stat/stat.js")).statCommand,
    },
    // Search
    {
        name: "find",
        load: async () => (await import("../find/find.js")).findCommand,
    },
    // Path utilities
    {
        name: "basename",
        load: async () => (await import("../basename/basename.js")).basenameCommand,
    },
    {
        name: "dirname",
        load: async () => (await import("../dirname/dirname.js")).dirnameCommand,
    },
    // Directory utilities
    {
        name: "tree",
        load: async () => (await import("../tree/tree.js")).treeCommand,
    },
    {
        name: "du",
        load: async () => (await import("../du/du.js")).duCommand,
    },
    // Environment
    {
        name: "env",
        load: async () => (await import("../env/env.js")).envCommand,
    },
    {
        name: "printenv",
        load: async () => (await import("../env/env.js")).printenvCommand,
    },
    {
        name: "alias",
        load: async () => (await import("../alias/alias.js")).aliasCommand,
    },
    {
        name: "unalias",
        load: async () => (await import("../alias/alias.js")).unaliasCommand,
    },
    {
        name: "history",
        load: async () => (await import("../history/history.js")).historyCommand,
    },
    // Utilities
    {
        name: "xargs",
        load: async () => (await import("../xargs/xargs.js")).xargsCommand,
    },
    {
        name: "true",
        load: async () => (await import("../true/true.js")).trueCommand,
    },
    {
        name: "false",
        load: async () => (await import("../true/true.js")).falseCommand,
    },
    {
        name: "clear",
        load: async () => (await import("../clear/clear.js")).clearCommand,
    },
    {
        name: "bash",
        load: async () => (await import("../bash/bash.js")).bashCommand,
    },
    {
        name: "sh",
        load: async () => (await import("../bash/bash.js")).shCommand,
    },
    {
        name: "help",
        load: async () => (await import("../help/help.js")).helpCommand,
    },
    {
        name: "which",
        load: async () => (await import("../which/which.js")).whichCommand,
    },
    {
        name: "whoami",
        load: async () => (await import("../whoami/whoami.js")).whoami,
    },
    {
        name: "hostname",
        load: async () => (await import("../hostname/hostname.js")).hostname,
    },
    {
        name: "hello",
        load: async () => (await import("../hello/hello.js")).helloCommand,
    },
    {
        name: "commands",
        load: async () => (await import("../commands/commands.js")).commandsCommand,
    },
    {
        name: "about",
        load: async () => (await import("../about/about.js")).aboutCommand,
    },
    {
        name: "doctor",
        load: async () => (await import("../doctor/doctor.js")).doctorCommand,
    },
];
const isBrowser = typeof __BROWSER__ !== "undefined" && __BROWSER__;
if (!isBrowser) {
    coreLoaders.push({
        name: "tar",
        load: async () => (await import("../tar/tar.js")).tarCommand,
    });
    coreLoaders.push({
        name: "yq",
        load: async () => (await import("../yq/yq.js")).yqCommand,
    });
    coreLoaders.push({
        name: "xan",
        load: async () => (await import("../xan/xan.js")).xanCommand,
    });
    coreLoaders.push({
        name: "sqlite3",
        load: async () => (await import("../sqlite3/sqlite3.js")).sqlite3Command,
    });
}
