@gud/cli
    Preparing search index...

    Function resolveDefaultCommandsDir

    • Resolve the default commands directory. This function attempts to find a "commands" directory in the current working directory or the caller's directory. If neither exists, it throws an error with a list of tried paths.

      Parameters

      • callerDepth: number = 0

        The depth of the caller in the stack trace. This is used to determine the directory of the caller file. Defaults to 0.

      Returns string

      The resolved path to the commands directory.

      if no commands directory is found.