MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / CwdParseResult

Interface CwdParseResult

packages/bumpy/src/utils/cwd.ts:1–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export interface CwdParseResult {
2 /** The directory passed to `--cwd`, or undefined if the flag was absent. */
3 cwd?: string;
4 /** The remaining argv with the `--cwd` flag (and its value) removed. */
5 rest: string[];
6}
7
8/**
9 * Extract a global `--cwd <dir>` / `--cwd=<dir>` flag from argv, returning the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…