File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,24 @@ python -m fit_cli package %{your_plugin_name}
5555
5656---
5757
58+ ## pip 安装
59+
60+ FIT CLI 工具可通过 pip 进行安装:
61+ ``` bash
62+ pip install fit-plugin-cli
63+ ```
64+ 安装后,可以简化命令为:
65+ ``` bash
66+ fit init %{your_plugin_name}
67+ fit_cli init %{your_plugin_name}
68+
69+ fit build %{your_plugin_name}
70+ fit_cli build %{your_plugin_name}
71+
72+ fit package %{your_plugin_name}
73+ fit_cli package %{your_plugin_name}
74+ ```
75+
5876## 注意事项
5977
60781 . 运行命令前,请切换至 framework/fit/python 项目根目录。
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" setuptools>=61.0" , " wheel" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " fit-plugin-cli"
7+ version = " 0.1.0"
8+ authors = [
9+ {
name =
" Akeyiii" ,
email =
" [email protected] " }
10+ ]
11+ description = " CLI tool for FIT framework plugin development"
12+ license = " MIT"
13+ keywords = [" fit" , " cli" , " plugin" ]
14+ requires-python = " >=3.9"
15+
16+ dependencies = [
17+ ]
18+
19+ [project .scripts ]
20+ fit_cli = " fit_cli.main:main"
21+ fit = " fit_cli.main:main"
22+
23+ [tool .setuptools ]
24+ packages = [
25+ " fit_cli" ,
26+ " fit_cli.commands" ,
27+ " fit_cli.utils" ,
28+ ]
You can’t perform that action at this time.
0 commit comments