Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
chore(readme): add example of how to use default editor to create new…
Browse files Browse the repository at this point in the history
… issue
  • Loading branch information
Ryan Garant committed Nov 4, 2019
1 parent af6bcb3 commit b9f25d9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@
"type": "node",
"request": "launch",
"runtimeArgs": ["-r", "ts-node/register"],
"args": ["${workspaceFolder}/src/debug.ts", "pr"],
"args": [
"${workspaceFolder}/src/debug.ts",
"is",
"--new",
"--title",
"title",
"--message",
"mess"
],
// "args": ["${workspaceFolder}/src/debug.ts", "ji", "LWM-117", "--status"],
"console": "integratedTerminal"
},
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,12 @@ gh issue
gh is 'Node GH rocks!' 'Body with **Markdown** support'
```

Create a new issue using your default git editor (`git config --global core.editor`) by passing an empty `--message` (_also works with an empty title_)

```
gh is --new --title 'Node GH rocks!' --message
```

Create a new issue on a certain repository.

```
Expand Down

0 comments on commit b9f25d9

Please sign in to comment.