@haechi-labs/henesis-cli
henesis-cli ===========
Last updated 18 days ago by nipol .
LGPL3 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @haechi-labs/henesis-cli 
SYNC missed versions from official npm registry.

henesis-cli

License Version Platform ci

Getting Started

Install

To use henesis-cli, Node v10 or higher must be installed.

$ npm install -g @haechi-labs/henesis-cli

$ henesis help

VERSION
  @haechi-labs/henesis-cli/1.0.0-beta.14 darwin-x64 node-v10.15.3

USAGE
  $ henesis [COMMAND]

COMMANDS
  changepw     change password
  help         display help for cli
  init         create the folder structure required for your project
  integration  manage integrations
  login        Perform a login
  logout       Perform a logout

Usage

  1. help

Use help as:

  $ henesis help [COMMAND]

For example, you can call help about integration:delete command like:

$ henesis help integration:delete
delete a integration

USAGE
  $ henesis integration:delete [INTEGRATIONID]

EXAMPLE
  $ henesis integration:delete
  1. login
$ henesis login
Allow Henesis to collect anonymous CLI usage and error reporting information
yes(y) or no(n): y
email: yoonsung@haechi.io
password: ***********

???? Login Success from yoonsung@haechi.io ????
  1. init

The directory in which the init command is run must be empty.

$ henesis init -n sample-project
sample-project directory has been created.

After this, the following folder structure is created.

sample-project/
├─ contract/
│  └─ example.sol
├─ handler/
│  ├─ execution.ts
│  └─ execution2.ts
└─ henesis.yaml

also, You can initialize the template distributed through git.

$ henesis init -g https://github.com/HAECHI-LABS/henesis-dai.git
henesis-dai directory has been created.
  1. integration

You can use command where the henesis.yaml file exists.

$ henesis integration
manage integrations

USAGE
  $ cli integration:COMMAND

COMMANDS
  integration:delete    delete a integration
  integration:deploy    deploy a integration
  integration:describe  describe a integration
  integration:status    get integrations

There are tasks to be done before the deploy command.

  • Place the contract file distributed in Blockchain inside the contract directory.
  • Modify the henesis.yaml file to match the event you want to subscribe to and place the file with logic in the handler directory.
  • You can run the deploy command and check the status of the distribution through the status command.
  1. change password

You must be logged in to use this feature.

$ henesis changepw
Password: ******
New Password: ******
Again New Password: ******
???? Password changed!

  1. logout
$ henesis logout
???? Logout Success ????

Current Tags

  • 1.0.0-beta.20                                ...           latest (18 days ago)

21 Versions

  • 1.0.0-beta.20                                ...           18 days ago
  • 1.0.0-beta.19                                ...           21 days ago
  • 1.0.0-beta.18                                ...           21 days ago
  • 1.0.0-beta.17                                ...           a month ago
  • 1.0.0-beta.16                                ...           a month ago
  • 1.0.0-beta.15                                ...           a month ago
  • 1.0.0-beta.14                                ...           a month ago
  • 1.0.0-beta.13                                ...           a month ago
  • 1.0.0-beta.12                                ...           2 months ago
  • 1.0.0-beta.11                                ...           2 months ago
  • 1.0.0-beta.10                                ...           2 months ago
  • 1.0.0-beta.9                                ...           2 months ago
  • 1.0.0-beta.8                                ...           2 months ago
  • 1.0.0-beta.7                                ...           2 months ago
  • 1.0.0-beta.6                                ...           2 months ago
  • 1.0.0-beta.5                                ...           2 months ago
  • 1.0.0-beta.4                                ...           2 months ago
  • 1.0.0-beta.3                                ...           2 months ago
  • 1.0.0-beta.2                                ...           2 months ago
  • 1.0.0-beta.1                                ...           2 months ago
  • 1.0.0-beta                                ...           2 months ago
Downloads
Today 0
This Week 0
This Month 79
Last Day 0
Last Week 43
Last Month 194
Dependencies (28)
Dev Dependencies (23)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |