Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b7dcee

Browse files
authored
fix: fix generation of cli-reference after improving command descriptions (#9995)
1 parent 3ebdcb3 commit 3b7dcee

File tree

7 files changed

+561
-368
lines changed

7 files changed

+561
-368
lines changed

scopes/compilation/compiler/compiler.cmd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class CompileCmd implements Command {
1111
name = 'compile [component-names...]';
1212
description = 'transpile component source files';
1313
extendedDescription = `compiles TypeScript, JSX, and other source files into JavaScript using the compiler configured by each component's environment.
14-
outputs compiled files to node_modules/<component-package-name>/dist for consumption by other components.
14+
outputs compiled files to node_modules/component-package-name/dist for consumption by other components.
1515
automatically triggered by "bit watch", "bit start", or IDE extensions, but can be run manually for debugging.`;
1616
helpUrl = 'reference/compiling/compiler-overview';
1717
arguments = [

scopes/component/checkout/checkout-cmd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class CheckoutCmd implements Command {
3333
helpUrl = 'reference/components/merging-changes#checkout-snaps-to-the-working-directory';
3434
group = 'version-control';
3535
extendedDescription = `checkout components to specified versions or remove local changes. most commonly used as 'bit checkout head' to get latest versions.
36-
the <to> argument accepts these values:
36+
the \`<to>\` argument accepts these values:
3737
- head: checkout to last snap/tag (most common usage)
3838
- specific version: checkout to exact version (e.g. 'bit checkout 1.0.5 component-name')
3939
- head~x: go back x generations from head (e.g. 'head~2' for two versions back)

scopes/component/component/show/show.cmd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class ShowCmd implements Command {
1414
name = 'show <component-name>';
1515
description = 'display component metadata, dependencies, and configuration';
1616
extendedDescription = `shows detailed information about a component including its version, dependencies, environment, and other metadata.
17-
note: to see file changes made in a specific version, use "bit diff <component> <version> --parent".`;
17+
note: to see file changes made in a specific version, use \`bit diff <component> <version> --parent\`.`;
1818
alias = '';
1919
group = 'info-analysis';
2020
arguments = [{ name: 'component-name', description: 'component name or component id' }];
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
description: 'Bit command synopses. Bit version: 1.12.120'
2+
description: 'Bit command synopses. Bit version: 1.12.121'
33
labels: ['cli', 'mdx', 'docs']
44
---

scopes/harmony/cli-reference/cli-reference.json

Lines changed: 231 additions & 165 deletions
Large diffs are not rendered by default.

scopes/harmony/cli-reference/cli-reference.mdx

Lines changed: 325 additions & 198 deletions
Large diffs are not rendered by default.

scopes/harmony/cli/help.cmd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export class HelpCmd implements Command {
66
name = 'help';
77
description = 'display available commands and usage information';
88
extendedDescription =
9-
'shows a categorized list of all available Bit commands with brief descriptions. use "bit <command> --help" for detailed help on specific commands.';
9+
'shows a categorized list of all available Bit commands with brief descriptions. use `bit <command> --help` for detailed help on specific commands.';
1010
alias = '$0'; // default command (meaning, if no args are provided, this will be used), see https://github.com/yargs/yargs/blob/master/docs/advanced.md#default-commands
1111
loader = false;
1212
group = 'system';

0 commit comments

Comments
 (0)