Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/1275 add metadata option to deploy #1283

Merged

Conversation

JoernBerkefeld
Copy link
Contributor

@JoernBerkefeld JoernBerkefeld commented Apr 24, 2024

PR details

What changes did you make? (Give an overview)

Further details (optional)

...

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • test scripts updated
  • Wiki updated (if applicable)

@JoernBerkefeld JoernBerkefeld added this to the 6.1.0 milestone Apr 24, 2024
@JoernBerkefeld JoernBerkefeld self-assigned this Apr 24, 2024
@github-actions github-actions bot added the enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story" label Apr 24, 2024
@JoernBerkefeld JoernBerkefeld linked an issue Apr 24, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Apr 24, 2024

Coverage Report

Commit:dfd81bf
Base: develop@66a2008

Type Base This PR
Total Statements Coverage  65.49%  65.79%  (+0.3%)
Total Branches Coverage  66.27%  66.85%  (+0.58%)
Total Functions Coverage  75.37%  75.45%  (+0.08%)
Total Lines Coverage  65.49%  65.79%  (+0.3%)
Details (changed files):
File Statements Branches Functions Lines
lib/Deployer.js  80.67%  70.42%  100%  80.67%
lib/Retriever.js  82.72%  75%  100%  82.72%
lib/cli.js  0%  0%  0%  0%
lib/index.js  69.02%  56.08%  67.64%  69.02%
lib/metadataTypes/SenderProfile.js  87.71%  70%  100%  87.71%
lib/util/util.js  80.85%  79.71%  85.29%  80.85%

@JoernBerkefeld
Copy link
Contributor Author

https://github.com/Accenture/sfmc-devtools/wiki/06.b-~-Standard-Commands/_edit

deploy

Command: mcdev deploy [business unit] [metadata type] [metadata key] [--metadata] [--fromRetrieve] [--refresh] [--changeKeyValue=yourNewKey] [--changeKeyField=otherFieldInJson] [--execute] [--schedule] [--fixShared]

Alias: mcdev d

[...]

deploy specific type and key via --metadata option:

This option is exceptionally flexible because it allows you to specify multiple type-key combos simultaneously. If set, it overrides the type or key you specified the old-fashioned way.
If the respective type features it, you can combine keys, IDs, and names in your selection. If you specify multiple --metadata parameters (or -m as an abbreviated version), the keys/ids/names are looked for separately, similar to an OR-search in SQL.

@JoernBerkefeld JoernBerkefeld mentioned this pull request Apr 24, 2024
10 tasks
@JoernBerkefeld JoernBerkefeld changed the title Feature/1275 add metadata option to deploy other methods Feature/1275 add metadata option to deploy Apr 24, 2024
@JoernBerkefeld JoernBerkefeld merged commit 467b903 into develop Apr 24, 2024
5 of 6 checks passed
@JoernBerkefeld JoernBerkefeld deleted the feature/1275-add-metadata-option-to-deploy-other-methods branch April 24, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] add --metadata option to deploy
1 participant