feat: add --installation-key flag to package version displaydependencies @W-20525733@#1227
Open
WillieRuemmele wants to merge 2 commits into
Open
feat: add --installation-key flag to package version displaydependencies @W-20525733@#1227WillieRuemmele wants to merge 2 commits into
WillieRuemmele wants to merge 2 commits into
Conversation
…ies @W-20525733@ Allow users to provide an installation key when querying dependencies of key-protected subscriber package versions.
Verify installation key is passed through to getDependencyGraph, edge-direction is respected, and output goes to stdout vs JSON result.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--installation-key(-k) flag tosf package version displaydependenciesso users can query dependencies of key-protected subscriber package versionsinstallationKeythreading in the library)Fixes forcedotcom/cli#3469
Work Item
@W-20525733@: Package Version Display Dependencies not possible, if installation key required
Proof of Work
header/headerissue is pre-existing)Test plan
sf package version displaydependencies -p 04t<key-protected> -k <key> -v <hub>— should display the dependency graphsf package version displaydependencies -p 04t<non-protected>(no key) — should still work as beforesf package version displaydependencies -p 08c...— unaffected path, should work as beforeProof
../../oss/plugin-packaging/bin/run.js package version displaydependencies --package 04tKa000002wLaqIAE --installation-key testKey123 strict digraph G { node_04tKa000002wLaqIAE [label="KeyProtectedTestPkg@0.1.0.1"] node_04tKa000002GlS0IAK [label="dancingbears-8e43a10e7d783c95@1.0.0.1"] node_04tKa000002wLaqIAE -> node_04tKa000002GlS0IAK }