Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit e9b646f

Browse files
authored
Merge pull request #250 from microsoft/axsuarez/force-flag-fix
Fix --in in force flag docstring
2 parents bc23537 + 5fba431 commit e9b646f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/lu/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ USAGE
6868
6969
OPTIONS
7070
--className=className Name of the autogenerated class (can include namespace)
71-
--force If --in flag is provided with the path to an existing file, overwrites that file
71+
--force If --out flag is provided with the path to an existing file, overwrites that file
7272
--in=in Path to the file containing the LUIS application JSON model
7373
--out=out Output file or folder name. If not specified stdout will be used as output
7474
```
@@ -85,7 +85,7 @@ USAGE
8585
8686
OPTIONS
8787
--className=className Name of the autogenerated class
88-
--force If --in flag is provided with the path to an existing file, overwrites that file
88+
--force If --out flag is provided with the path to an existing file, overwrites that file
8989
--in=in Path to the file containing the LUIS application JSON model
9090
--out=out Output file or folder name. If not specified stdout will be used as output
9191
```

packages/lu/src/commands/luis/generate/cs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default class LuisGenerateCs extends Command {
1313
in: flags.string({description: 'Path to the file containing the LUIS application JSON model'}),
1414
out: flags.string({description: 'Output file or folder name. If not specified stdout will be used as output', default: ''}),
1515
className: flags.string({description: 'Name of the autogenerated class (can include namespace)'}),
16-
force: flags.boolean({description: 'If --in flag is provided with the path to an existing file, overwrites that file', default: false}),
16+
force: flags.boolean({description: 'If --out flag is provided with the path to an existing file, overwrites that file', default: false}),
1717
}
1818

1919
reorderEntities(app: any, name: string): void {

packages/lu/src/commands/luis/generate/ts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default class LuisGenerateTs extends Command {
1313
in: flags.string({description: 'Path to the file containing the LUIS application JSON model'}),
1414
out: flags.string({description: 'Output file or folder name. If not specified stdout will be used as output', default: ''}),
1515
className: flags.string({description: 'Name of the autogenerated class'}),
16-
force: flags.boolean({description: 'If --in flag is provided with the path to an existing file, overwrites that file', default: false}),
16+
force: flags.boolean({description: 'If --out flag is provided with the path to an existing file, overwrites that file', default: false}),
1717
}
1818

1919
reorderEntities(app: any, name: string): void {

0 commit comments

Comments
 (0)