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

    Function builtin_pwd

    • Reports the current working directory in the ChRIS filesystem context.

      Parameters

      • args: string[] = []

        Command arguments (--title flag supported).

      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;
              };
          },
      >

      An envelope whose rendered text is the directory (with feed and plugin segments replaced by titles under --title) and whose model carries the raw path.