@holochain/devhub-cli
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

DevHub CLI

A CLI for managing assets and packages on DevHub.

Project configs (eg. devhub.json) keep track of assets that the repo is creating.

The dependency config (devhub-lock.json) keeps track of zome, DNA, or hApp dependencies for the assets being created.

Getting started

Install CLI Tool

npm i --global @holochain/devhub-cli

Set Connection Info

See DevHub Setup for instructions on running and installing devhub.

devhub connection --global set <PORT> <TOKEN>

Check connection with

devhub connection status

Install Zome Dependencies

devhub install <package>

Publish a Zome

devhub zome init path/to/crate/dir

After answering the prompt questions, a zome.json file is created in the location provided.

Check local configurations using...

devhub status

Preview what would be published for the newly defined zome.

devhub publish --dry-run zome crate_name

If it looks good, complete the publishing by removing the --dry-run flag.

devhub publish zome crate_name

API Docs

See docs/API.md

Contributing

See CONTRIBUTING.md

Readme

Keywords

none

Package Sidebar

Install

npm i @holochain/devhub-cli

Weekly Downloads

2

Version

0.2.0

License

ISC

Unpacked Size

195 kB

Total Files

37

Last publish

Collaborators

  • neonphog
  • zippy314
  • thedavidmeister
  • zo-el
  • jost-s
  • matthme
  • thetasinner
  • collinsmuriuki