awesome-fastapi-projects/scripts/list_imports.sh

5 lines
113 B
Bash
Raw Permalink Normal View History

2020-07-09 22:20:38 +00:00
for file in $(find reps -maxdepth 1 -type d); do
grep -r "import" --include \*.py $file > imports.txt
done