@witchcraft/spellcraft
    Preparing search index...
    • Internal

      Parameters

      • commandName: undefined | string
      • manager: Pick<Manager, "commands"> & Partial<Pick<Manager, "keys">> & PickManager<
            "options",
            "stringifier",
        >
      • Optionalshortcut: Shortcut<string, Condition>

        Shortcut will only be added to error if the manager contains keys. Otherwise it will be ignored.

      Returns Result<true, KnownError<"UNKNOWN_COMMAND">>