clide-js
    Preparing search index...

    Function prepareResolvedCommand

    • Prepares a resolved command by:

      • Ensuring the remaining command string starts with a subcommand name.
      • Adding a resolveNext function if the command isn't the last one.
      • Replacing the handler with a pass-through function if the command won't be executed.

      Parameters

      • __namedParameters: PrepareResolvedCommandParams

      Returns Promise<ResolvedCommand>

      The prepared resolved command.