soyuka / dat-daemon

Dat as a daemon
MIT License
25 stars 3 forks source link

fix #5 #6

Closed soyuka closed 6 years ago

soyuka commented 6 years ago

mhh do you see more options I should add? Some options are used for importFiles which is not (yet?) supported by the daemon.

martinheidegger commented 6 years ago

This is maybe not a complete list but watch (for changes of local dats) comes to mind, as well as version to specify a certain version to download. Also sparse only works in combination with selectedFiles:

https://github.com/datproject/dat/blob/9a7150a10a7b312d408e2c223608eaea6d21f213/src/ui/archive.js#L32

opts.exit allows to remove a dat from the list (daemon) once it has been completely up/downloaded. opts.logspeed might not be super-important but it has been added for a reason maybe?

soyuka commented 6 years ago

logspeed is only used for neat-log (I'm not trying to rewrite dat cli)

I need to add importFiles before I can add the rest of these options.