layerlens
layerlens copied to clipboard
Extracting package name from pubspec.yaml
Is there a reason why the --package
is required when the imports are in form of package:
?
I was thinking that if in the --path
there is pubspec.yaml
, we can extract the package name directly from there. Then the parameter could be useful and used only when the --path
leads to a folder where there is no pubspec.yaml
.