sf-plugin-formula 1.0.3 → 1.0.4

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 CHANGED
@@ -87,12 +87,14 @@ Activate debug mode (more logs)
87
87
 
88
88
  - Run a formula without variables:
89
89
 
90
- <%= config.bin %> <%= command.id %> --formula 'IF(TRUE, "Yes", "No")'
91
-
90
+ ```shell
91
+ sf formula evaluate --formula 'IF(TRUE, "Yes", "No")'
92
+ ```
92
93
  - Run a formula with variables and multiple records:
93
-
94
- <%= config.bin %> <%= command.id %> --formula 'Amount\_\_c \* 2' --records '[{"Amount**c":{"type":"literal" "dataType":"number","value":100,"options":{"length":6,"scale":2}}}]
95
-
94
+ ```shell
95
+ sf formula evaluate --formula 'Amount\_\_c \* 2' --records '[{"Amount**c":{"type":"literal" "dataType":"number","value":100,"options":{"length":6,"scale":2}}}]
96
+ ```
96
97
  - Run a formula from a JSON file:
97
-
98
- <%= config.bin %> <%= command.id %> --inputfile ./my-formula.json
98
+ ```shell
99
+ sf formula evaluate --inputfile ./my-formula.json
100
+ ```
@@ -81,5 +81,5 @@
81
81
  ]
82
82
  }
83
83
  },
84
- "version": "1.0.3"
84
+ "version": "1.0.4"
85
85
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-plugin-formula",
3
3
  "description": "Evaluates a Salesforce formula against one or more records and returns the result for each.",
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/matheus-delazeri/sf-plugin-formula"