0.2.0 • Published 1 year ago
@holochain/devhub-cli v0.2.0
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-cliSet Connection Info
See DevHub Setup for instructions on running and installing devhub.
devhub connection --global set <PORT> <TOKEN>Check connection with
devhub connection statusInstall Zome Dependencies
devhub install <package>Publish a Zome
devhub zome init path/to/crate/dirAfter answering the prompt questions, a zome.json file is created in the location provided.
Check local configurations using...
devhub statusPreview what would be published for the newly defined zome.
devhub publish --dry-run zome crate_nameIf it looks good, complete the publishing by removing the --dry-run flag.
devhub publish zome crate_nameAPI Docs
See docs/API.md
Contributing
See CONTRIBUTING.md