siac to list directories
PROPOSAL
Once there is directory support (directory metadata, query by directory, etc) siac should be updated to display directories instead of all renter files.
The commands siac renter
and siac renter list
should behave more like ls
where it shows the top level renter directory files and any sub-directories. Then, by either submitting an argument, or creating a new set of commands, the user can display and navigate the folder structure.
PREREQUISITES
!3187 (merged)
!3196 (closed)
#1122 (closed)
#3195 (closed)
DESIGN
- How to display the
siapaths
- The
siapath
should still be displayed somehow to the user as they are navigating, but displaying each folder and file as the entire sia path might be bad UI - One option would be to have a
siapath prefix
listed at the top, or just list the entiresiapath
of the folder and then only file names. Then users can just combine the folder and filename to get the entiresiapath
- The
- Folder info for
-v
flag- When the
-v
flag is input, folders will display the sum, average, or worst case value of the folder's contents - Should the top level folder have info display? Or not because you are viewing all the folder's contents?
- When the