help command

This commit is contained in:
Chris Wanstrath 2025-09-29 18:11:21 -07:00
parent bffd0c2b4b
commit c411678db2

View File

@ -5,6 +5,8 @@
import { commandPath } from "@/commands"
export default async function (cmd: string) {
if (!cmd) return "usage: help <command>"
const path = commandPath(cmd)
if (!path) throw `${cmd} not found`