digitalsvn / bentodb-cli
BentoDB CLI
v0.3.0
2023-04-09 13:59 UTC
Requires
- php: >=8.1.0
- guzzlehttp/guzzle: ^7.5
- minicli/minicli: ^3.2
README
安装
composer global require digitalsvn/bentodb-cli
之后您应该能够在系统中的任何位置运行 bentodb
命令。
bentodb
如果失败,您可能还需要将 composer 全局 bin 目录添加到您的 PATH 环境变量中。
查找您的全局 composer bin 目录
composer global config --list | grep bin-dir
添加到您的路径中(使用上述命令的结果)
export PATH=${PATH}:~/.composer/vendor/bin
用法
bentodb <command> [options] bentodb configure - Set your BentoDB API key bentodb whoami - Get your BentoDB user information bentodb create name=my_database - Create a new database (with optional name) bentodb ls - List your databases bentodb delete id=xyz - Delete a database