mirror of
https://github.com/pnpm/pnpm.git
synced 2026-01-06 22:18:17 -05:00
fix: the help of the run command should list --resume-from
This commit is contained in:
6
.changeset/few-pandas-type.md
Normal file
6
.changeset/few-pandas-type.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@pnpm/plugin-commands-script-runners": patch
|
||||
"pnpm": patch
|
||||
---
|
||||
|
||||
The help of the run command should list the `--resume-from` option.
|
||||
@@ -14,6 +14,7 @@ import { existsInDir } from './existsInDir'
|
||||
import { makeEnv } from './makeEnv'
|
||||
import {
|
||||
PARALLEL_OPTION_HELP,
|
||||
RESUME_FROM_OPTION_HELP,
|
||||
shorthands as runShorthands,
|
||||
} from './run'
|
||||
import { PnpmError } from '@pnpm/error'
|
||||
@@ -68,10 +69,7 @@ The shell should understand the -c switch on UNIX or /d /s /c on Windows.',
|
||||
name: '--shell-mode',
|
||||
shortAlias: '-c',
|
||||
},
|
||||
{
|
||||
description: 'command executed from given package',
|
||||
name: '--resume-from',
|
||||
},
|
||||
RESUME_FROM_OPTION_HELP,
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
@@ -38,6 +38,11 @@ for long-running processes such as watch run over many packages.',
|
||||
name: '--parallel',
|
||||
}
|
||||
|
||||
export const RESUME_FROM_OPTION_HELP = {
|
||||
description: 'Command executed from given package',
|
||||
name: '--resume-from',
|
||||
}
|
||||
|
||||
export const shorthands = {
|
||||
parallel: [
|
||||
'--workspace-concurrency=Infinity',
|
||||
@@ -105,6 +110,7 @@ For options that may be used with `-r`, see "pnpm help recursive"',
|
||||
},
|
||||
IF_PRESENT_OPTION_HELP,
|
||||
PARALLEL_OPTION_HELP,
|
||||
RESUME_FROM_OPTION_HELP,
|
||||
...UNIVERSAL_OPTIONS,
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user