mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
[kbn/pm] remove extra trailing chars (#136781)
This commit is contained in:
parent
35f13999f0
commit
0bbded2b5b
3 changed files with 16 additions and 18 deletions
|
@ -25,16 +25,16 @@ export const command = {
|
||||||
changes build artifacts will be downloaded from the remote cache.
|
changes build artifacts will be downloaded from the remote cache.
|
||||||
`,
|
`,
|
||||||
flagsHelp: `
|
flagsHelp: `
|
||||||
--force-install Use this flag to force bootstrap to install yarn dependencies. By default the',
|
--force-install Use this flag to force bootstrap to install yarn dependencies. By default the
|
||||||
command will attempt to only run yarn installs when necessary, but if you manually',
|
command will attempt to only run yarn installs when necessary, but if you manually
|
||||||
delete the node modules directory or have an issue in your node_modules directory',
|
delete the node modules directory or have an issue in your node_modules directory
|
||||||
you might need to force the install manually.',
|
you might need to force the install manually.
|
||||||
--offline Run the installation process without consulting online resources. This is useful and',
|
--offline Run the installation process without consulting online resources. This is useful and
|
||||||
sometimes necessary for using bootstrap on an airplane for instance. The local caches',
|
sometimes necessary for using bootstrap on an airplane for instance. The local caches
|
||||||
will be used exclusively, including a yarn-registry local mirror which is created and',
|
will be used exclusively, including a yarn-registry local mirror which is created and
|
||||||
maintained by successful online bootstrap executions.',
|
maintained by successful online bootstrap executions.
|
||||||
--no-validate By default bootstrap validates the yarn.lock file to check for a handfull of',
|
--no-validate By default bootstrap validates the yarn.lock file to check for a handfull of
|
||||||
conditions. If you run into issues with this process locally you can disable it by',
|
conditions. If you run into issues with this process locally you can disable it by
|
||||||
passing this flag.
|
passing this flag.
|
||||||
--no-vscode By default bootstrap updates the .vscode directory to include commonly useful vscode
|
--no-vscode By default bootstrap updates the .vscode directory to include commonly useful vscode
|
||||||
settings for local development. Disable this process either pass this flag or set
|
settings for local development. Disable this process either pass this flag or set
|
||||||
|
|
|
@ -13,10 +13,10 @@ export const command = {
|
||||||
name: 'watch',
|
name: 'watch',
|
||||||
description: 'Runs a build in the Bazel built packages and keeps watching them for changes',
|
description: 'Runs a build in the Bazel built packages and keeps watching them for changes',
|
||||||
flagsHelp: `
|
flagsHelp: `
|
||||||
--offline Run the installation process without consulting online resources. This is useful and',
|
--offline Run the installation process without consulting online resources. This is useful and
|
||||||
sometimes necessary for using bootstrap on an airplane for instance. The local caches',
|
sometimes necessary for using bootstrap on an airplane for instance. The local caches
|
||||||
will be used exclusively, including a yarn-registry local mirror which is created and',
|
will be used exclusively, including a yarn-registry local mirror which is created and
|
||||||
maintained by successful online bootstrap executions.',
|
maintained by successful online bootstrap executions.
|
||||||
`,
|
`,
|
||||||
reportTimings: {
|
reportTimings: {
|
||||||
group: 'scripts/kbn watch',
|
group: 'scripts/kbn watch',
|
||||||
|
|
|
@ -44,13 +44,11 @@ export async function getHelp(cmdName = undefined) {
|
||||||
return ['', ...cmdLines(0, cmd)].join('\n');
|
return ['', ...cmdLines(0, cmd)].join('\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
const lines = [
|
return [
|
||||||
'Usage:',
|
'Usage:',
|
||||||
' yarn kbn <command> [...flags]',
|
' yarn kbn <command> [...flags]',
|
||||||
'',
|
'',
|
||||||
'Commands:',
|
'Commands:',
|
||||||
...COMMANDS.map((cmd) => cmdLines(2, cmd)).flat(),
|
...COMMANDS.map((cmd) => cmdLines(2, cmd)).flat(),
|
||||||
];
|
].join('\n');
|
||||||
|
|
||||||
return lines.join('\n');
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue