Properties
args
args: string[] = Option.Proxy()
commandName
commandName: string = Option.String()
cwd
cwd: undefined | string = Option.String(`--cwd`, {hidden: true})
workspaceName
workspaceName: string = Option.String()
Static paths
paths: string[][] = [[`workspace`],]
Static usage
usage
: Usage = Command.Usage({category: `Workspace-related commands`,description: `run a command within the specified workspace`,details: `This command will run a given sub-command on a single workspace.`,examples: [[`Add a package to a single workspace`,`yarn workspace components add -D react`,], [`Run build script on a single workspace`,`yarn workspace components run build`,]],})