Giter VIP home page Giter VIP logo

fennel-cli's Introduction

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

fennel-cli's People

Contributors

dependabot[bot] avatar isaacadams avatar phillywebguy avatar romulus10 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fennel-cli's Issues

Fennel CLI

put message on IPFS: wf message A -> IPFS hash
read message from IPFS: wf message --read <HASH> -> message in hexadecimal format
read message from IPFS (json): wf message --read <HASH> --json => json message

CLI - Flags and Arguments

The CLI is going to need some level of interactivity to communicate with Fennel Protocol and the encrypted message server.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.