@hellocoop/quickstart 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Hellō Quickstart
|
|
2
|
+
|
|
3
|
+
## CLI
|
|
4
|
+
|
|
5
|
+
You can run the following command to create or retrieve the `client_id` for a Hellō Application.
|
|
6
|
+
|
|
7
|
+
`npx @hellocoop/quickstart@latest`
|
|
8
|
+
|
|
9
|
+
This will open up a browser window, where you will need to login with Hellō, and then choose to create a new app, or return the `client_id`.
|
|
10
|
+
|
|
11
|
+
## Import Package
|
|
12
|
+
|
|
13
|
+
To install in another package
|
|
14
|
+
|
|
15
|
+
`npm i @hellocoop/quickstart`
|
|
16
|
+
|
|
17
|
+
or
|
|
18
|
+
|
|
19
|
+
`yarn i @hellocoop/quickstart`
|
|
20
|
+
|
|
21
|
+
You can then use call Quickstart fom another configuration script
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
import quickstart from './quickstart.js';
|
|
25
|
+
|
|
26
|
+
...
|
|
27
|
+
|
|
28
|
+
const client_id = await quickstart()
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Options
|
|
33
|
+
|
|
34
|
+
TBD
|