Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/factomproject/factom-cli1

This is a mirror repository of milestone 1 factom-cli for historical go get
https://github.com/factomproject/factom-cli1

Last synced: 15 days ago
JSON representation

This is a mirror repository of milestone 1 factom-cli for historical go get

Awesome Lists containing this project

README

        

Factom Command Line Interface
===

Synopsis
------
---
factom
-c [ChainID] # hex encoded chainid for the entry
-e [extid] # external id for the entry. -e may be used multiple times
-h # display help message
-s # path to the factomclient. default: localhost:8083
---
Description
-------
factom-cli takes data from the command arguments and stdin and constructs a json entry for the factomclient to decode and submit to factom.

Examples
-------
---
Getting the Help screen:

$ factom-cli -h

Submiting arbitrary data to factom:

$ echo "Some data to save in factom" | factom-cli -c -e mydata -e somekey

Submitting a file:

$ factom-cli -s "factom.org/demo" -c -e filename