-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,35 @@ | ||
# brisk | ||
Freeze and thaw with Nippy at the command line | ||
|
||
Freeze and thaw with [Nippy](https://github.com/ptaoussanis/nippy) at the command line. | ||
|
||
# Install | ||
|
||
Download the latest from the [releases page](https://github.com/justone/brisk/releases). | ||
|
||
# Usage | ||
|
||
Freeze data: | ||
|
||
``` | ||
brisk --freeze -i data.edn -o data.nippy | ||
``` | ||
|
||
Thaw data: | ||
|
||
``` | ||
brisk --thaw -i data.nippy -o data.edn | ||
``` | ||
|
||
If input or output is not specified, stdin or stdout will be used: | ||
|
||
``` | ||
cat data.edn | brisk -f | brisk -t > data2.edn | ||
``` | ||
|
||
# To Do | ||
|
||
* [Babashka pod](https://github.com/babashka/babashka.pods) support, exposing nippy functions. | ||
|
||
# Things that don't work | ||
|
||
* Embedded objects - Nippy can handle them, but Graal VM does not support them. |