Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dax/src/command.ts>CommandBuilder#cwd

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Go to Latest
method CommandBuilder.prototype.cwd
import { CommandBuilder } from "https://deno.land/x/dax@0.39.1/src/command.ts";

Sets the current working directory to use when executing this command.

Parameters

dirPath: string | URL | Path