You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -61,12 +65,16 @@ Prints release URL to terminal on success.
61
65
62
66
Saves github API token to `$HOME/.config/gh-release.json` after first authentication.
63
67
64
-
### Node
68
+
## Node
69
+
70
+
### Install
65
71
66
72
```
67
73
$ npm install gh-release --save-dev
68
74
```
69
75
76
+
### Usage
77
+
70
78
```js
71
79
var ghRelease =require('gh-release')
72
80
@@ -116,7 +124,7 @@ All default values taken from `package.json` unless specified otherwise.
116
124
|`draft`| publish as draft | false |
117
125
|`prerelease`| publish as prerelease | false |
118
126
119
-
Override defaults with flags ([cli](#cli)) or the `options` object ([node](#node)).
127
+
Override defaults with flags (CLI) or the `options` object (node).
120
128
121
129
## Standards
122
130
@@ -129,7 +137,7 @@ All [releases](https://github.com/ngoldman/gh-release/releases) of `gh-release`
129
137
130
138
## Motivation
131
139
132
-
There are packages that already do something like this, and they're great, but I want something that does this one thing really well and nothing else, leans heavily on standards in `package.json` and `CHANGELOG.md`, and can work both as a cli tool and programmatically in node.
140
+
There are packages that already do something like this, and they're great, but I want something that does this one thing really well and nothing else, leans heavily on standards in `package.json` and `CHANGELOG.md`, and can work both as a CLI tool and programmatically in node.
0 commit comments