运行
运行安装到此包中的命令。这要么运行虚拟环境中提供的脚本或应用程序,要么运行 Rye 特定的脚本。
有关更多信息,请参阅 rye.tool.scripts
。
示例
从虚拟环境运行工具
$ rye run flask
不带参数调用它以查看所有可用脚本
$ rye run
flask
hello
python
python3
python3.9
参数
[COMMAND]
: 命令的名称及其参数。
选项
-
-l, --list
: 列出所有命令(不带参数时隐式执行) -
--pyproject
: 使用此pyproject.toml
文件 -
-h, --help
: 打印帮助(使用 '-h' 查看摘要)