From b46511efe351fa75910c25fa40921dc08148dfa7 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Mon, 23 Feb 2026 08:08:59 -0800 Subject: [PATCH] Rename `info` to `neofetch` in vm module and command handler --- src/commands/vm.ts | 2 +- src/vm.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/vm.ts b/src/commands/vm.ts index 3277280..f9c39a0 100644 --- a/src/commands/vm.ts +++ b/src/commands/vm.ts @@ -53,7 +53,7 @@ export function register(program: Command) { .description("Show VM system info (via neofetch)") .action(async () => { await vm.ensure() - await vm.info() + await vm.neofetch() }) vmCmd diff --git a/src/vm.ts b/src/vm.ts index c453999..6425491 100644 --- a/src/vm.ts +++ b/src/vm.ts @@ -288,7 +288,7 @@ export async function shell(workdir?: string): Promise { } /** Run neofetch in the container. */ -export async function info(): Promise { +export async function neofetch(): Promise { const proc = Bun.spawn( ["container", "exec", "--user", USER, CONTAINER_NAME, "env", `PATH=${CONTAINER_PATH}`, "neofetch"], { stdin: "inherit", stdout: "inherit", stderr: "inherit" },