Proposal for outputs on the CLI main four functions: share live, share static, download live, download static. (cc @maxogden @mafintosh @Karissa). (Continues the conversation a bit in release rc2 issue).
Sharing
Share Live Folder
$ dat share .
Creating Dat: /Users/joe/node_modules/dat/tests/fixtures
[Added] folder
[Added] folder/empty.txt
[Added] all_hour.csv
Files: 3 Size: 1.44 kB
[Secret Key] dccb16b2a27c603109d1ec858cb24335777522d311a31f1f614ad4b2d47e3a3b
[Status]
Watching /Users/joe/node_modules/dat/tests/fixtures...
Waiting for connections...
Resume Share Live Folder (same directory)
$ dat share .
Resuming Dat: /Users/joe/node_modules/dat/tests/fixtures
[Added] new_file.md
Files: 4 Size: 1.54 kB
[Secret Key] dccb16b2a27c603109d1ec858cb24335777522d311a31f1f614ad4b2d47e3a3b
[Status]
Watching /Users/joe/node_modules/dat/tests/fixtures...
Waiting for connections...
Share Snapshot
Note: Share can be done without explicit share command
$ dat tests/fixtures --snapshot
Creating Dat: tests/fixtures
[Added] folder
[Added] folder/empty.txt
[Added] all_hour.csv
Files: 2 Size: 1.44 kB
[Secret Key] 4d74013c32ce739d6c6b960c9371fe3689f6dfba23e8f88d03cc202489a3cd65
[Status]
Dat Snapshot Finalized
Waiting for connections...
Downloading
Download Live
$ dat get 75565f6283f1aa6758ef21d2e3b16aaef97413daa280c130adfd3923dff279a2 download_folder
Starting Dat: 75565f6283f1aa6758ef21d2e3b16aaef97413daa280c130adfd3923dff279a2
Downloading to: /Users/joe/Desktop/download_folder
[Done] folder
[Done] folder/empty.txt
[Done] all_hour.csv
[Secret Key] 75565f6283f1aa6758ef21d2e3b16aaef97413daa280c130adfd3923dff279a2
[Completed] 3 files (1.44 kB)
Latest Version Downloaded, Run Again to Update
(process exits)
Download Snapshot
Note: Download can be done without explicit get command
$ dat 4d74013c32ce739d6c6b960c9371fe3689f6dfba23e8f88d03cc202489a3cd65 download_folder
Starting Dat: 4d74013c32ce739d6c6b960c9371fe3689f6dfba23e8f88d03cc202489a3cd65
Downloading to: /Users/joe/Desktop/download_folder
[Done] folder
[Done] folder/empty.txt
[Done] all_hour.csv
[Secret Key] 4d74013c32ce739d6c6b960c9371fe3689f6dfba23e8f88d03cc202489a3cd65
[Completed] 3 files (1.44 kB)
Snapshot Downloaded
(process exits)
Proposal for outputs on the CLI main four functions: share live, share static, download live, download static. (cc @maxogden @mafintosh @Karissa). (Continues the conversation a bit in release rc2 issue).
Sharing
Share Live Folder
Resume Share Live Folder (same directory)
Share Snapshot
Note: Share can be done without explicit
sharecommandDownloading
Download Live
Download Snapshot
Note: Download can be done without explicit
getcommand