amacrobert / dice-roller
命令行多面骰投掷工具,非常适合桌面角色扮演游戏(RPG)
1.0.1
2020-08-30 15:14 UTC
This package is auto-updated.
Last update: 2024-09-29 05:49:35 UTC
README
命令行多面骰投掷工具
使用方法
投掷一次
$ roll 3d6+2
或者进行交互式投掷
$ roll
roll> 3d6+5
roll> d20
roll> quit
安装
- 通过 Composer 全局安装
$ composer global require amacrobert/dice-roller
- 如果你还没有将全局Composer的bin目录添加到PATH环境变量中,请在你的shell配置文件中添加它
export PATH=$PATH:$HOME/.composer/vendor/bin/