0.1.2 • Published 1 year ago

hop-cli-tool v0.1.2

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
1 year ago

hop-cli

command line interface for hop

git clone https://github.com/healthscience/hop-cli.git

sudo npm install -g .

or sudo npm install hop-cli-tool -g

Usage: hop options

cli health oracle protocol

Options: -v, --version output the version number -h, --help display help for command

Commands: launch options start HOP library options query the network library hopmessage options hop message help command display help for command

This is still experimental. Goal is to read Module and Reference Contracts from the network library (then add data via the cli to use in bentoboxds.org).

Works in interactive mode only at this stage, (assuming contracts added already) for exmaple:

hop launch

$ Type of reference contract bentoboard ❯ library

? Style of contract (Use arrow keys) ❯ reference module exit

? View contract (Use arrow keys) datatype ❯ compute data visualisation exit

❯ datatype compute ? View contract compute ? Please enter contract ID f020a98b100ac40c109a1488220e9874cfa3f43a

{ type: 'datatype-rc', data: { seq: 17, key: 'f020a98b100ac40c109a1488220e9874cfa3f43a', value: { refcontract: 'compute', concept: {}, computational: { name: 'Observation', description: 'view data', primary: 'yes', dtprefix: '355fd3704781a4f15236fe13b6f2ed3ebf756a84', code: 'none', hash: 'none' } } }

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago