@seamapi/cli 0.4.0 → 0.5.0
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 +1 -6
- package/lib/blueprint.d.ts +6 -0
- package/lib/blueprint.js +37 -0
- package/lib/blueprint.js.map +1 -0
- package/lib/get-api-blueprint.d.ts +1 -1
- package/lib/get-api-blueprint.js +15 -7
- package/lib/get-api-blueprint.js.map +1 -1
- package/lib/interact-for-custom-metadata.d.ts +1 -1
- package/lib/interact-for-custom-metadata.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/src/lib/blueprint.ts +53 -0
- package/src/lib/get-api-blueprint.ts +17 -7
- package/src/lib/interact-for-custom-metadata.ts +4 -1
- package/src/lib/version.ts +1 -1
package/README.md
CHANGED
|
@@ -13,11 +13,6 @@ Every command is interactive: the CLI prompts for any missing required
|
|
|
13
13
|
parameter with suggestions pulled from your workspace. Pass `-y` to take the
|
|
14
14
|
first suggestion instead of being asked.
|
|
15
15
|
|
|
16
|
-
The command list is derived at runtime from the [Seam API blueprint], so the
|
|
17
|
-
CLI exposes every documented endpoint without needing a release of its own.
|
|
18
|
-
|
|
19
|
-
[Seam API blueprint]: https://github.com/seamapi/blueprint
|
|
20
|
-
|
|
21
16
|
## Installation
|
|
22
17
|
|
|
23
18
|
Install the CLI globally using [npm] with
|
|
@@ -65,7 +60,7 @@ seam locks unlock-door --device-id $MY_DOOR
|
|
|
65
60
|
# Create an access code
|
|
66
61
|
seam access-codes create --code "1234" --name "My Code"
|
|
67
62
|
|
|
68
|
-
# List
|
|
63
|
+
# List your access codes
|
|
69
64
|
seam access-codes list --device-id $MY_DOOR
|
|
70
65
|
```
|
|
71
66
|
|