Skip to content

Commit 6fa9e27

Browse files
committed
Update readme
1 parent 58c2290 commit 6fa9e27

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,19 @@ Options:
7272
[boolean] [default: false]
7373
--json show output as prettified json [boolean] [default: false]
7474
-h, --help Show help [boolean]
75-
```
75+
```
76+
77+
## Use in your app
78+
79+
```js
80+
const { grt } = require('github-repo-tools');
81+
82+
const response = await grt({
83+
user: 'lightness',
84+
package: 'typescript',
85+
yarnLock: false,
86+
token: '<GITHUB_TOKEN>',
87+
});
88+
```
89+
90+
> TODO: Add more descriptive exmaple

0 commit comments

Comments
 (0)