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

Commit ef4b507

Browse files
committed
Removing unnecesary characters
1 parent 4a383c0 commit ef4b507

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

CONTRIBUTING.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,45 +6,45 @@
66
2. Inside the project folder run 'npm run build'
77
3. Inside the packages folder(https://github.com/microsoft/botframework-cli/tree/master/packages) run 'npx oclif plugin <plugin-name>'
88
4. Follow the wizard and set the prompts:
9-
```
10-
? npm package: @microsoft/bf-<plugin-name>
11-
? description: <Plugin brief description>
12-
? author: Microsoft
13-
? version: 1.0.0
14-
? license: MIT
15-
? Who is the GitHub owner of repository (https://github.com/OWNER/repo): microsoft
16-
? What is the GitHub name of repository (https://github.com/owner/REPO): botframework-cli
17-
? Select a package manager: npm
18-
? TypeScript: Y
19-
? Use tslint (linter for TypeScript): Y
20-
? Use mocha (testing framework): Y
21-
? Add CI service config (Press <space> to select, <a> to toggle all, <i> to invert selection): select any
22-
```
9+
10+
? npm package: @microsoft/bf-<plugin-name>
11+
? description: <Plugin brief description>
12+
? author: Microsoft
13+
? version: 1.0.0
14+
? license: MIT
15+
? Who is the GitHub owner of repository (https://github.com/OWNER/repo): microsoft
16+
? What is the GitHub name of repository (https://github.com/owner/REPO): botframework-cli
17+
? Select a package manager: npm
18+
? TypeScript: Y
19+
? Use tslint (linter for TypeScript): Y
20+
? Use mocha (testing framework): Y
21+
? Add CI service config (Press <space> to select, <a> to toggle all, <i> to invert selection): select any
22+
2323
4. Go to the folder created by the previous command and add @microsoft/bf-cli-command as a dependency in your package.json file
24-
```
25-
"dependencies": {
24+
25+
"dependencies": {
2626
...,
2727
"@microsoft/bf-cli-command": "1.0.0",
2828
...
29-
}
30-
```
29+
}
30+
3131
5. At the root level(https://github.com/microsoft/botframework-cli) run 'npm run build' to bootstrap the packages
3232

3333
## Steps to create a new command
3434
1. Inside the plugin folder run 'npx oclif command <command-name>'.
3535
a. To add a subcommand use a colon separated format as follows:
3636
<command-name:subcommand-name>
3737
2. Replace the import 'import {Command, flags} from '@oclif/command' line inside the newly created command with '@microsoft/bf-cli-command'
38-
```
39-
- import {Command, flags} from '@oclif/command'
40-
+ import {Command, flags} from '@microsoft/bf-cli-command'
41-
```
38+
39+
- import {Command, flags} from '@oclif/command'
40+
+ import {Command, flags} from '@microsoft/bf-cli-command'
41+
4242
3. Add the typing to the flags property like this if needed:
43-
```
43+
4444
static flags: flags.Input<any> = {
4545
help: flags.help({description: 'Display help'}),
4646
}
47-
```
47+
4848
4. Implement the run method
4949

5050
## General Guidelines

0 commit comments

Comments
 (0)