consensus/d2-cli
最新稳定版本:v0.7.1
Composer 安装命令:
composer require consensus/d2-cli
包简介
Provides the latest d2 binary from Terrastruct.
README 文档
README
Provides the latest d2 binary via Packagist.
This makes it easier to require d2 via Composer in PHP-based projects, such
as the D2 module for Drupal.
Usage
Require the package via Composer:
composer require consensus/d2-cli
The d2 binary will be available at vendor/consensus/d2-cli/d2.
Release Process
Note that upstream releases
include an intermediate directory that includes the version string. As such,
the location of the binary changes with each release. In this package, we put
the d2 binary at the root, and generate a VERSION file that includes the
release version.
When a new upstream version is released, update the d2_RELEASE variable in
the Makefile, then run:
make d2-release
统计信息
- 总下载量: 185
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MPL-2.0
- 更新时间: 2026-02-02