Skip to content

Commit

Permalink
docs: add --out-dir reference for prune command
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulkar committed Jun 2, 2023
1 parent 3a0cbe5 commit 3f89a6e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/pages/repo/docs/reference/command-line-reference/prune.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ description: Turborepo CLI Reference for `prune` command
import Callout from "../../../../../components/Callout";
import OuputModeTable from "../../../../../components/output-mode-table.mdx";

# `turbo prune --scope=<target>`
# `turbo prune`

## `--scope=<target>`

Generate a sparse/partial monorepo with a pruned lockfile for a target workspace.

Expand Down Expand Up @@ -97,3 +99,9 @@ With the `--docker` flag. The `prune` command will generate folder called `out`
│ └── package.json
└── yarn.lock # The pruned lockfile for all targets in the subworkspace
```

## `--out-dir`

**Default**: `./out`

Customize the directory the pruned output is generated in.

0 comments on commit 3f89a6e

Please sign in to comment.