Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pfrazee/bdat

Beaker Dat CLI tool. Wraps Dat with new commands for Beaker.
https://github.com/pfrazee/bdat

Last synced: 11 days ago
JSON representation

Beaker Dat CLI tool. Wraps Dat with new commands for Beaker.

Awesome Lists containing this project

README

        

# bdat

Wraps https://github.com/maxogden/dat with new commands.
Used by https://github.com/pfraze/beaker.

Currently adds: `version`.

```
bdat

share directory and create a dat-link

--snapshot create a snapshot of directory
--port, -p set a specific inbound tcp port

bdat version

get the current version

bdat version major|minor|patch|prerelease|

write a new version to the dat

bdat

download a dat-link into directory

--list print file list for dat-link
--exit exit process after download finishes
--port, -p set a specific inbound tcp port

general options

--version, -v get installed dat version
--doctor run dat doctor
--quiet, -q output only dat-link, no progress information
--debug show debugging output
```

## About the additions

### version

The `version` command writes a semver to `.bdat-version`.
Beaker scans the hyperdrive feed for changes to that file, to detect version updates.