You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running this command using sl * on a directory which contains multiple project directories (some of which are not node projects) shows console output like this:
asp-project-1
No package.json file found: C:\Projects\asp-project-1
python-project-2
No package.json file found: C:\Projects\python-project-2
somefile.zip
Path needs to be a directory: C:\Projects\somefile.zip
node-project-1
- test : echo "Error: no test specified" && exit 1
Expectation:
Instead of mixing (in terms of line-wise console output) the node project folders with other files and folders, group the not found files and non-node project folders and show them in the end.
Something like this:
node-project-1
- test : echo "Error: no test specified" && exit 1
Ignored files and folder
------------------------
asp-project-1
No package.json file found: C:\Projects\asp-project-1
python-project-2
No package.json file found: C:\Projects\python-project-2
somefile.zip
Path needs to be a directory: C:\Projects\somefile.zip
You might also show the ignored section in some other way, like just printing out the files/folders name without detailed error reason for each of them.
Also, you might introduce a new flag to show the output in this way (like sl * --ignore), keeping the default output as it is. But atleast someway to have this kind of output will be nice.
The text was updated successfully, but these errors were encountered:
bendtherules
changed the title
[Feature Request] Group all not found errors while globbing (directory with no package.json or files)
[Feature Request] Group all not found errors while globbing
Mar 6, 2018
What happens now :
Running this command using
sl *
on a directory which contains multiple project directories (some of which are not node projects) shows console output like this:Expectation:
Instead of mixing (in terms of line-wise console output) the node project folders with other files and folders, group the not found files and non-node project folders and show them in the end.
Something like this:
You might also show the ignored section in some other way, like just printing out the files/folders name without detailed error reason for each of them.
Also, you might introduce a new flag to show the output in this way (like
sl * --ignore
), keeping the default output as it is. But atleast someway to have this kind of output will be nice.The text was updated successfully, but these errors were encountered: