Commit d15720d
authored
feat: add new
The new `sf crud-mdapi read` command replaces `sf force source read` which is now deprecated and will be removed in the next major release (`v2`).
- **new flags**: `--output-dir` and `--manifest`
- **renamed flag**: `--sourcepath` (`-p`) is now `--source-dir` (`-d`)
- **changed flag**: `--metadata` can now be specified multiple times instead of only once as comma-separated string
- the global sf flag `--flags-dir` is now supported
- Metadata like `CustomObjectTranslation` is now **decomposed** into multiple files (e.g. `.objectTranslation-meta.xml`, `.fieldTranslation-meta.xml`)
Please see the [Migration Guide](https://github.com/amtrack/sfdx-plugin-source-read/wiki/Migration#sf-crud-mdapi-read).sf crud-mdapi read command (#117)1 parent a741f07 commit d15720d
38 files changed
Lines changed: 3344 additions & 1597 deletions
File tree
- .github/workflows
- bin
- config
- sfdx-source
- customobjecttranslations-with-fieldtranslations
- objectTranslations/Dummy__c-en_US
- objects/Dummy__c
- fields
- profile-with-field-permissions
- objects/Account
- fields
- profiles
- recordtypes-with-picklistvalues/objects/DummyWithRT__c
- fields
- recordTypes
- translations-with-labels
- labels
- translations
- src
- commands
- crud-mdapi
- force/source
- test
- commands
- crud-mdapi
- force/source
- fixtures
- read-record-types
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
31 | 30 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 31 | | |
37 | 32 | | |
38 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
| |||
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
File mode changed.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
0 commit comments