-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
when installing the plugin in the sf-CLI (salesforce), the hook seems to fire before the command is available/registered.
sf plugins install @cristiand391/oclif-carapace-spec-plugin
? @cristiand391/oclif-carapace-spec-plugin isn't signed by Salesforce. Only install the plugin if you trust its creator. Do you want to continue the installation? yes
Because you approved this plugin, you can avoid future installation confirmations by adding the plugin to the unsignedPluginAllowList.json file. For details, see https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_allowlist.htm.
Finished digital signature check.
› Warning: carapace-gen is not a sf command.
Did you mean cmdt create? (Y/n)
@salesforce/cli: Installing plugin @cristiand391/oclif-carapace-spec-plugin@latest... !
› Error: Run sf help for a list of available commands.
probably the hook would need to call the code directly and not through opt.runCommand 🤷
the installation still works and the command is usable afterwards, its just not generating the initial spec and shows the confusing error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working