Rename info to neofetch in vm module and command handler

This commit is contained in:
Chris Wanstrath 2026-02-23 08:08:59 -08:00
parent 33e47a802c
commit b46511efe3
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -288,7 +288,7 @@ export async function shell(workdir?: string): Promise<void> {
}
/** Run neofetch in the container. */
export async function info(): Promise<void> {
export async function neofetch(): Promise<void> {
const proc = Bun.spawn(
["container", "exec", "--user", USER, CONTAINER_NAME, "env", `PATH=${CONTAINER_PATH}`, "neofetch"],
{ stdin: "inherit", stdout: "inherit", stderr: "inherit" },