typer-cli:使用Typer CLI完整运行Typer脚本,而无需创建包

时间:2021-02-05 18:45:37
【文件属性】:
文件名称:typer-cli:使用Typer CLI完整运行Typer脚本,而无需创建包
文件大小:24KB
文件格式:ZIP
更新时间:2021-02-05 18:45:37
python shell python3 click typer 打字机CLI 使用Typer CLI完整运行Typer脚本,而无需创建包。 除了Typer本身之外,还有一个可选的实用程序工具Typer CLI 。 它的主要特点是提供 :sparkles: 完成 :sparkles: 在终端中使用Typer构建自己的小型程序。 ...无需创建完整的可安装Python软件包。 如果您有一个使用Typer的小型自定义Python脚本(可能是某个项目的一部分),则对于某些小任务,这可能最有用,并且它不够复杂/重要,无法为其创建一个完整的可安装Python包(要与之一起安装) pip )。 在这种情况下,您可以安装Typer CLI并在终端中使用typer命令运行程序,它将为脚本提供完成。
【文件预览】:
typer-cli-master
----.gitignore(78B)
----pyproject.toml(2KB)
----.travis.yml(493B)
----LICENSE(1KB)
----.github()
--------workflows()
--------dependabot.yml(106B)
----scripts()
--------test-cov-html.sh(80B)
--------publish.sh(52B)
--------test.sh(296B)
--------format-imports.sh(206B)
--------format.sh(314B)
--------lint.sh(232B)
----README.md(11KB)
----tests()
--------test_not_python.py(316B)
--------__init__.py(0B)
--------test_multi_func.py(2KB)
--------test_completion_run.py(512B)
--------assets()
--------test_version.py(279B)
--------test_sub.py(2KB)
--------test_empty_script.py(380B)
--------test_sub_completion.py(528B)
--------test_doc.py(2KB)
--------test_multi_app_cli.py(2KB)
--------test_multi_app.py(2KB)
--------test_app_other_name.py(805B)
--------test_func_other_name.py(424B)
--------test_multi_app_sub.py(930B)
--------test_help.py(585B)
--------test_sub_help.py(500B)
----.coveragerc(57B)
----typer_cli()
--------__init__.py(91B)
--------__main__.py(31B)
--------main.py(10KB)
----release-notes.md(3KB)
----mypy.ini(56B)

网友评论