Skip to content

Commit 21969cb

Browse files
committed
Update options README
1 parent eff0b31 commit 21969cb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,18 @@ Options:
2727
[string] [required]
2828
--iat The Issued At (iat), relative to now. Uses `zeit/ms` strings (e.g
2929
'0', '2 days', '10 years')
30-
[string] [default: Current time (e.g 0 seconds from "now")]
30+
[string] [default: 0, current time (e.g 0 seconds from "now")]
3131
--exp The Expiration Time (exp) relative to `iat`, using a `zeit/ms`
32-
string (e.g '1hr, '2 days', '10 years'). [string] [default: 1 hour]
32+
string (e.g '1hr, '2 days', '10 years').
33+
[string] [default: 1hr, 1 hour expiration]
3334
--key MapKit private key file path [required]
3435
--origin The Origin (origin) key. This key's value is a fully qualified
3536
domain that should match the Origin header passed by a browser.
3637
[string]
3738
--verify Test the generated token with MapKit servers to verify if valid
38-
[boolean] [default: Verify token after it generates]
39+
[boolean] [default: false, verify token after it generates]
3940
--stdout Set to true to output only the token, suitable for piping
40-
[boolean] [default: By default, outputs extra data about the token]
41+
[boolean] [default: false, by default, outputs extra data about the token]
4142
```
4243

4344
See the [MapKit JS Documentation](https://developer.apple.com/documentation/mapkitjs/creating_and_using_tokens_with_mapkit_js) for the full explanation of these options.

0 commit comments

Comments
 (0)