COMMON_OPTIONS top-level property
Implementation
final List<Option> COMMON_OPTIONS = [
Option(
name: ['-C', '--dir'],
args: [Arg(name: 'path', template: 'folders')],
isPersistent: true,
description:
'Run as if pnpm was started in <path> instead of the current working directory'),
Option(
name: ['-w', '--workspace-root'],
args: [Arg(name: 'workspace')],
isPersistent: true,
description:
'Run as if pnpm was started in the root of the <workspace> instead of the current working directory'),
Option(
name: ['-h', '--help'],
isPersistent: true,
description: 'Output usage information'),
Option(name: ['-v', '--version'], description: 'Show pnpm\'s version')
];