@devflow-tools/devflow 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,51 @@
1
+ # @devflow-tools/devflow
2
+
3
+ DevFlow 主发行包 - 开发者智能平台
4
+
5
+ ## 安装
6
+
7
+ ```bash
8
+ npm install -g @devflow-tools/devflow
9
+ ```
10
+
11
+ ## 使用
12
+
13
+ ```bash
14
+ # 初始化项目
15
+ devflow init
16
+
17
+ # 启动服务
18
+ devflow start
19
+
20
+ # 查看可用插件
21
+ devflow plugin list
22
+
23
+ # 安装插件
24
+ devflow plugin install @devflow-tools/plugin-react
25
+ ```
26
+
27
+ ## 系统要求
28
+
29
+ - Node.js >= 22.0.0
30
+
31
+ ## 插件
32
+
33
+ DevFlow 支持丰富的插件生态,可以通过以下命令管理插件:
34
+
35
+ ```bash
36
+ # 列出所有可用插件
37
+ devflow plugin list
38
+
39
+ # 搜索插件
40
+ devflow plugin search react
41
+
42
+ # 安装插件
43
+ devflow plugin install @devflow-tools/plugin-react
44
+
45
+ # 卸载插件
46
+ devflow plugin uninstall @devflow-tools/plugin-react
47
+ ```
48
+
49
+ ## 许可证
50
+
51
+ MIT
package/bin/devflow ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+
3
+ import('../dist/cli.js').catch(err => {
4
+ console.error('Failed to start DevFlow:', err);
5
+ process.exit(1);
6
+ });