Skip to content

fennelLabs/fennel-cli

Repository files navigation

fennel-cli

To set up the CLI and find information on how to use the CLI, run

$ ./scripts/setup.sh
$ cargo run
$ target/debug/fennel-cli help

To run the included testing suite, run:

$ ./scripts/setup.sh
$ ./scripts/build-test.sh

To run the local cryptography/Whiteflag RPC, run

$ ./scripts/setup.sh
$ cargo run --bin fennel-cli -- start-rpc

To interact with a locally-running IPFS node

Add file

$ cargo run --bin fennel-ipfs -- add-file ./test.txt

Returns 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>

Testing Guide

sh scripts/build-test.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors