I need to list contents of my site directory on Netlify for debug, but I can not find an option to turn on directory listings. Am I right that there is no such autoindex ability in Netlify as mod_autoindex provides for Apache?
UPDATE: I tried generating index with tree -H '.' -L 1 > index.html
, but `tree at Netlify is not installed. Maybe there is an alternative in Python, Ruby or npm repositories?
do_your_build && ls -l your_publish_directory
would show the contents in the build log in your browser in netlify's UI. To show to someone else you'd have to make and publish a file containing the list:do_your_build && cd your_publish_directory && ls -lR > file_listing.txt
– Convolve