To set up the CLI and find information on how to use the CLI, run
$ ./scripts/setup.sh
$ cargo run
$ target/debug/fennel-cli helpTo run the included testing suite, run:
$ ./scripts/setup.sh
$ ./scripts/build-test.shTo run the local cryptography/Whiteflag RPC, run
$ ./scripts/setup.sh
$ cargo run --bin fennel-cli -- start-rpcAdd file
$ cargo run --bin fennel-ipfs -- add-file ./test.txtReturns a CID for use with the other two commands.
Get file
$ cargo run --bin fennel-ipfs -- get-file <cid>Returns the content of the file at the given CID.
Delete file
$ cargo run --bin fennel-ipfs -- delete-file <cid>sh scripts/build-test.sh