lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

add only parent folder with command `assets:add`

Open HazemElgohary opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe. no

Describe the solution you'd like if I have 60 file with the same parent the command will add 60 path

-assets
   -images
      -image1.png 
      -image2.png
      -image3.png
      -image4.png
      -image5.png
      -image6.png
      -image7.png

currently it will make this output after using the command lh assets:add

flutter:
 assets:
  -assets/images/image1.png
  -assets/images/image2.png
  -assets/images/image3.png
  -assets/images/image4.png
  -assets/images/image5.png
  -assets/images/image6.png
  -assets/images/image7.png

Describe alternatives you've considered while if the command only added

flutter:
 assets:
  -assets/images/

it will work but with much fewer lines on pubspec.yaml

HazemElgohary avatar Dec 22 '21 14:12 HazemElgohary