sf-raven 1.2.1 → 1.2.3

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
@@ -1,12 +1,31 @@
1
- # sf-raven
2
-
3
- [![NPM](https://img.shields.io/npm/v/sf-raven.svg?label=sf-raven)](https://www.npmjs.com/package/sf-raven) [![Downloads/week](https://img.shields.io/npm/dw/sf-raven.svg)](https://npmjs.org/package/sf-raven) [![License](https://img.shields.io/badge/License-BSD%203--Clause-brightgreen.svg)](https://raw.githubusercontent.com/salesforcecli/sf-raven/main/LICENSE.txt)
4
-
5
- A plugin for the Salesforce CLI built by Tom Carman.
6
-
7
- [sf-raven](https://github.com/tomcarman/sf-raven) now replaces [sfdx-raven](https://github.com/tomcarman/sfdx-raven/).
8
-
9
- ## Command Quick Reference
1
+ <div align="center">
2
+ <img src="media/logo/sf-raven-roundrect.png" width="300px" align="center" alt="sf raven logo" />
3
+ <br/><br/>
4
+ <b>Salesforce CLI plugin by @tomcarman</b>
5
+ <br/><br/>
6
+
7
+ [![NPM](https://img.shields.io/npm/v/sf-raven.svg?label=sf-raven)](https://www.npmjs.com/package/sf-raven) [![Downloads/week](https://img.shields.io/npm/dw/sf-raven.svg)](https://npmjs.org/package/sf-raven) [![License](https://img.shields.io/badge/License-BSD%203--Clause-brightgreen.svg)](https://raw.githubusercontent.com/salesforcecli/sf-raven/main/LICENSE.txt)
8
+
9
+ </div>
10
+ </br>
11
+
12
+ ## Overview
13
+
14
+ * [Features](#features)
15
+ * [Install](#install)
16
+ * [Command Reference](#command-reference)
17
+ * [sf raven object display fields](#sf-raven-object-display-fields)
18
+ * [sf raven object display recordtypes](#sf-raven-object-display-recordtypes)
19
+ * [sf raven pull](#sf-raven-pull)
20
+ * [sf raven pull remote](#sf-raven-pull-remote)
21
+ * [sf raven deploy cancel](#sf-raven-deploy-cancel)
22
+ * [sf raven query ids](#sf-raven-query-ids)
23
+ * [sf raven audit display](#sf-raven-audit-display)
24
+ * [sf raven event subscribe](#sf-raven-event-subscribe)
25
+
26
+ </br>
27
+
28
+ ## Features
10
29
 
11
30
  Full details, usage, examples etc are further down, or can be accessed via `--help` on the commands.
12
31
 
@@ -52,7 +71,7 @@ Full details, usage, examples etc are further down, or can be accessed via `--he
52
71
  * [sfdx raven:utils:dashboarduser:update](#sfdx-ravenutilsdashboarduserupdate)
53
72
  * Change the running user of Dashboards -->
54
73
 
55
- ## Setup
74
+ ## Install
56
75
 
57
76
  ### Dependencies
58
77
  * [fzf](https://github.com/junegunn/fzf) is required for the [sf raven pull](#sf-raven-pull) commands, and should be available on your path. (IMO they are probably the most useful commands in this plugin, so its worth setting up fzf if you don't have it.)
@@ -78,12 +97,15 @@ The plugin can be updated to the latest version using
78
97
  3. Install npm modules: `npm install`
79
98
  4. Link the plugin: `sfdx plugins:link .`
80
99
 
81
- ## Compatibility
100
+ ### Compatibility
82
101
 
83
102
  - **macOS**
84
103
  - Plugin has been built on macOS and will always run on macOS
85
104
 
86
- ## sf raven object display fields
105
+
106
+ ## Command Reference
107
+
108
+ ### sf raven object display fields
87
109
 
88
110
  Show field information for a given sObject.
89
111
 
@@ -124,7 +146,7 @@ Annual Revenue AnnualRevenue Currency(18, 0)
124
146
  ...
125
147
  ```
126
148
 
127
- ## sf raven object display recordtypes
149
+ ### sf raven object display recordtypes
128
150
 
129
151
  Show RecordType information for a given sObject.
130
152
 
@@ -164,7 +186,7 @@ Person Account PersonAccount 0124J000000YYYYDEF
164
186
  ...
165
187
  ```
166
188
 
167
- ## sf raven pull
189
+ ### sf raven pull
168
190
 
169
191
  Update Salesforce metadata into the local project via a fuzzy finder.
170
192
 
@@ -192,7 +214,7 @@ EXAMPLES
192
214
  $ sf raven pull --target-org dev --all
193
215
  ```
194
216
 
195
- ## sf raven pull remote
217
+ ### sf raven pull remote
196
218
 
197
219
  Retrieve Salesforce metadata that exists in the org but not locally, via a fuzzy finder.
198
220
 
@@ -215,7 +237,7 @@ EXAMPLES
215
237
  $ sf raven pull remote --target-org dev
216
238
  ```
217
239
 
218
- ## sf raven deploy cancel
240
+ ### sf raven deploy cancel
219
241
 
220
242
  Cancel a pending or in-progress Salesforce deploy.
221
243
 
@@ -238,7 +260,7 @@ EXAMPLES
238
260
  $ sf raven deploy cancel --target-org dev
239
261
  ```
240
262
 
241
- ## sf raven query ids
263
+ ### sf raven query ids
242
264
 
243
265
  Run a SOQL query against a large list of Salesforce IDs.
244
266
 
@@ -270,7 +292,7 @@ EXAMPLES
270
292
  $ sf raven query ids --file account-ids.txt --query "SELECT Id, Name FROM Account WHERE Id IN {ids}" --csv results.csv
271
293
  ```
272
294
 
273
- ## sf raven audit display
295
+ ### sf raven audit display
274
296
 
275
297
  Show recent entries in the Setup Audit Trail.
276
298
 
@@ -310,7 +332,7 @@ Date Username Type Action
310
332
  ...
311
333
  ```
312
334
 
313
- ## sf raven event subscribe
335
+ ### sf raven event subscribe
314
336
 
315
337
  Subscribe to Platform Events, streamed to your terminal.
316
338
 
@@ -359,7 +381,7 @@ OUTPUT
359
381
  }
360
382
  ```
361
383
 
362
- <!-- ## sfdx raven:utils:deploy:branch2org
384
+ <!-- ### sfdx raven:utils:deploy:branch2org
363
385
 
364
386
  Deploys a git branch to an org. Assumes you have git installed the neccessary access to the repo you are trying to clone (eg. you can run `git clone ...`), and that the branch is in a source-format sfdx project structure.
365
387
 
@@ -415,7 +437,7 @@ OUTPUT
415
437
  https://wise-hawk-22uzds-dev-ed.my.salesforce.com/lightning/setup/DeployStatus/page?address=%2Fchangemgmt%2FmonitorDeploymentsDetails.apexp%3FasyncId%3D0Af4K00000BHVuASAX
416
438
  ```
417
439
 
418
- ## sfdx raven:utils:diff
440
+ ### sfdx raven:utils:diff
419
441
 
420
442
  Allows you to quickly compare metadata of files between two orgs. Intended to be used for quick compares of single
421
443
  (or possibly a few) files of the same metadata type, rather than a full org compare (there are better tools for
@@ -479,7 +501,7 @@ OUTPUT
479
501
  <img width="795" alt="diff" src="https://user-images.githubusercontent.com/1554713/111902572-057edf80-8a36-11eb-8c45-56c09c290e89.png">
480
502
 
481
503
 
482
- ## sfdx raven:utils:dashboarduser:update
504
+ ### sfdx raven:utils:dashboarduser:update
483
505
 
484
506
  Updates the "Running User" of Dashboards from a given user, to an alternate given user. Useful for mass-updating Dashboards when a user is deactivated.
485
507