@medplum/cli 0.9.7 → 0.9.8

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.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -33,14 +33,14 @@ The `id` property refers to the Bot ID in your Medplum project.
33
33
 
34
34
  The `source` property is the file path to the original source. When you "save" the Bot, the contents of this file will be saved to the Bot `code` property. This file can be JavaScript or TypeScript.
35
35
 
36
- The `dist` property is the optional file path to the compiled source. When you "deploy" the Bot, the contents of this file will be deployed to the Bot runtime. This file must be JavaScript.
36
+ The `dist` property is the optional file path to the compiled source. If omitted, the command falls back to using the `source` property. When you "deploy" the Bot, the contents of this file will be deployed to the Bot runtime. This file must be JavaScript.
37
37
 
38
38
  ## Usage
39
39
 
40
40
  Syntax:
41
41
 
42
42
  ```bash
43
- medplum <command> <args>
43
+ npx medplum <command> <args>
44
44
  ```
45
45
 
46
46
  ### save-bot
@@ -50,13 +50,13 @@ Updates the `code` value on a `Bot` resource
50
50
  Syntax:
51
51
 
52
52
  ```bash
53
- medplum save-bot <bot name>
53
+ npx medplum save-bot <bot name>
54
54
  ```
55
55
 
56
56
  Example:
57
57
 
58
58
  ```bash
59
- medplum save-bot hello-world
59
+ npx medplum save-bot hello-world
60
60
  ```
61
61
 
62
62
  ### deploy-bot
@@ -66,13 +66,13 @@ Deploys the Bot code
66
66
  Syntax:
67
67
 
68
68
  ```bash
69
- medplum deploy-bot <bot name>
69
+ npx medplum deploy-bot <bot name>
70
70
  ```
71
71
 
72
72
  Example:
73
73
 
74
74
  ```bash
75
- medplum-deploy-bot <bot name>
75
+ npx medplum-deploy-bot <bot name>
76
76
  ```
77
77
 
78
78
  ## Authentication
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/cli",
3
- "version": "0.9.7",
3
+ "version": "0.9.8",
4
4
  "description": "Medplum Command Line Interface",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",
@@ -16,13 +16,13 @@
16
16
  "test": "jest"
17
17
  },
18
18
  "dependencies": {
19
- "@medplum/core": "0.9.7",
19
+ "@medplum/core": "0.9.8",
20
20
  "dotenv": "16.0.1",
21
21
  "node-fetch": "2.6.7"
22
22
  },
23
23
  "devDependencies": {
24
- "@medplum/fhirtypes": "0.9.7",
25
- "@medplum/mock": "0.9.7"
24
+ "@medplum/fhirtypes": "0.9.8",
25
+ "@medplum/mock": "0.9.8"
26
26
  },
27
27
  "bin": {
28
28
  "medplum": "./dist/index.js"