right now its definitely a bit confusing if you pass paths
karissa: I'd be happy to implement the metadata too but I couldn't quite figure out the CLI for that. I assumed that was the list command but I couldn't figure out how to get it working (even on command line)
karissa
jhand: hey! Cool yeah, the list command is broken but it can be fixed. you need drive.createEntryStream().on('data', function ..
jhand: re bring president, nonsense, we've already tossed a coin and you won
jhand: the entry stream just gets the metadata but it needs to connect to the swarm, too. You can see an example in the download code in index.js
jhand
karissa: Ok let me look at index.js. I tried to replace it and still got error. Running command with: dat list dat://9e991b518925721eb0de1a31df7ca47736c398d18918543d28c63d104fb36a0c
karissa
jhand: you'll want to print them out. It'll look like download but instead of downloading them and tracking swarm progress and all that you'll just fetch the entry stream and console log
jhand: it might be a little confusing, the code is still undocumented and could be cleaned up a little because we've been moving fast
jhand
karissa: no problem, let me look around at it a bit see if i can get it. best way to learn is to break it a bunch =)
karissa
jhand: woohoo
bthesorceror has quit
m-i joined the channel
ogd
jhand: haha sorry. you are only the president of joehandlia
jhand
ogd: haha, that is okay i guess. But now that I know I only won that by a coin flip... can barely win presidency of my own entity!
ogd
jhand: haha
domanic_ has quit
bthesorceror joined the channel
jhand
karissa: surprisingly actually got it to work. were y'all just logging out the metadata object before?
bthesorceror has quit
karissa
jhand: yeah for now, but it could be more sophisticated like what 'ls' does
jhand
karissa: okay, I'll open a PR on what I have then maybe look at that tomorrow w/ the datpy metadata stuff.
karissa
jhand: woohoo!
jhand: that is gonna be great for exploring a file system and selecting the correct file
jhand
karissa: also, it seems a bit strange that the loc argument was required but maybe I am missing something. it looked like it was required in hyperdrive get
karissa
jhand: yeah it is a bit weird
dat-git-bot
[dat] joehand opened pull request #436: update list CLI command to work with latest version of hyperdrive (master...master) https://git.io/vgteM