mise API - v0.0.0
    Preparing search index...

    Function sudoCommand_run

    • Runs the command nested below sudo with a temporary elevated CUBE client.

      Parameters

      • args: string[]

        Nested command name followed by its arguments.

      • run: ElevatedCommandRunner

        Dispatch seam for the nested command.

      Returns Promise<
          {
              errors?: { message: string; type: "error"
              | "warning" }[];
              model?: { data: unknown; kind: string };
              rendered: string;
              renderedErr?: string;
              status: "error" | "ok";
              trace?: {
                  executed?: string;
                  input: string;
                  proposed: string;
                  validated: boolean;
              };
          },
      >

      The nested command result, or an elevation/input error envelope.