Rename info to neofetch in vm module and command handler
This commit is contained in:
parent
33e47a802c
commit
b46511efe3
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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" },
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user