function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

sfdx force:source:retrieve -p force-app\main\default\lwc -u <username>

What is working 
sfdx force:source:retrieve -p  force-app\main\default\classes  -u <username>
retrieves all classes.

What is not working 
sfdx force:source:retrieve -p  force-app\main\default\lwc-u

Dose not retrieve all LightningWebComponents.

I had also tried -m for metatdata
for the following and did not work
1. LightningComponentBundle

Please help to fetch all LWC componets from the source org
Ajay K DubediAjay K Dubedi

In your post, which IDE you are used
If you are used the VS Code to retrieve all LWC(Lightning Web Component) and it's classes
then you can follow this link:

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Ajay Dubedi