Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Execute force namespace commands from plugin #29

Open
keirbowden opened this issue Jul 6, 2018 · 3 comments
Open

Execute force namespace commands from plugin #29

keirbowden opened this issue Jul 6, 2018 · 3 comments
Labels
Feature Tracked Elsewhere The work is being tracked internally by Salesforce

Comments

@keirbowden
Copy link

Do you want to request a feature or report a bug?

Request a feature

What is the expected behavior?

Is it likely that we'll be able to execute commands from other namespaces as part of our plugins? For example, I'd like to be have a command that carries out some processing (e.g. to generate a package.xml) and then execute force:mdapi:retrieve. At the moment I'm using node scripts that carry out the processing and then executes sfdx, but that means the two items are a bit more independent of each other than I'd like.

This wouldn't be something that I'd want to do for every deployment, so I'm assuming that hooks wouldn't be the right solution, but don't really know anything about hooks so could easily be wrong!

@amphro
Copy link
Contributor

amphro commented Jul 6, 2018

Thanks for the request. Yes, I agree that command hooks is the right path and is on our roadmap, but no ETA.

@clairebianchi
Copy link
Contributor

@keirbowden Just wanted to give you an update that we are working on hooks in the next quarter and they should be available by Trailhead DX, if not sooner.

@clairebianchi clairebianchi added Tracked Elsewhere The work is being tracked internally by Salesforce Feature and removed enhancement labels Feb 5, 2019
@yippie
Copy link

yippie commented Jul 17, 2020

@clairebianchi is there any update on this? Just looking for an update as it would be super useful

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature Tracked Elsewhere The work is being tracked internally by Salesforce
Projects
None yet
Development

No branches or pull requests

5 participants