You need to sign in to do that
Don't have an account?
sf commands not recognised
Hello everyone,
In VSCode, when I try to run the sf project generate manifest command:
sf project generate manifest --source-dir force-app --name myNewManifest
I get the following error message:
Warning: project generate manifest is not a sf command
I've installed salesforcecli via npm and have updated to the latest version:
@salesforce/cli: Updating CLI... already on version 2.7.11-5a5b1de
I have a Salesforce project (directory with a sfdx-project.json file in it) and, in the terminal, I am in the top level of the directory.
Is there anything in the above info that I am doing incorrectly? Or is this maybe a Salesforce CLI bug?
TIA
Tom
Can you try using below command: You can refer below link which can help you with commands to generate manifest file.
force:source:manifest:create https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#cli_reference_force_source_manifest_create:~:text=Type%3A%20filepath-,force%3Asource%3Amanifest%3Acreate,-Create%20a%20project)
If this information helps, please mark the answer as best. Thank you