Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@holochain/devhub-cli

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@holochain/devhub-cli

A CLI for managing assets and packages on DevHub

  • 0.2.0-dev.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

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

FAQs

Package last updated on 09 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc