Skip to content

Commit

Permalink
Add namespaced deploy-retrieve examples (#1026)
Browse files Browse the repository at this point in the history
* fix: namespaced deploy-retrieve examples

* chore: messages/deploy.metadata.md

Co-authored-by: Juliet Shackell <[email protected]>

* chore: messages/retrieve.start.md

Co-authored-by: Juliet Shackell <[email protected]>

---------

Co-authored-by: Juliet Shackell <[email protected]>
  • Loading branch information
iowillhoit and jshackell-sfdc authored May 30, 2024
1 parent 900b3f4 commit cb52dde
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions messages/deploy.metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ To deploy multiple metadata components, either set multiple --metadata <name> fl

sf <%= command.id %> --metadata 'ApexClass:MyApex*' --ignore-warnings

- Deploy a custom object called ExcitingObject that's in the SBQQ namespace:

sf <%= command.id %> --metadata CustomObject:SBQQ__ExcitingObject

- Deploy all custom objects in the SBQQ namespace by using a wildcard and quotes:

sf <%= command.id %> --metadata 'CustomObject:SBQQ__*'

- Deploy all custom objects and Apex classes found in all defined package directories (both examples are equivalent):

sf <%= command.id %> --metadata CustomObject ApexClass
Expand Down
8 changes: 8 additions & 0 deletions messages/retrieve.start.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ To retrieve multiple metadata components, either use multiple --metadata <name>

sf <%= command.id %> --metadata 'ApexClass:MyApex*'

- Retrieve a custom object called ExcitingObject that's in the SBQQ namespace:

sf <%= command.id %> --metadata CustomObject:SBQQ__ExcitingObject
- Retrieve all custom objects in the SBQQ namespace by using a wildcard and quotes:

sf <%= command.id %> --metadata 'CustomObject:SBQQ__*'

- Retrieve all custom objects and Apex classes found in all defined package directories (both examples are equivalent):

sf <%= command.id %> --metadata CustomObject ApexClass
Expand Down

0 comments on commit cb52dde

Please sign in to comment.