@iflow-ai/iflow-cli 0.1.2 → 0.1.4
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 +44 -10
- package/bundle/iflow.js +933 -833
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
# 🤖 iFlow CLI
|
|
2
|
-

|
|
3
2
|
|
|
4
3
|
**English** | [中文](README_CN.md) | [日本語](README_JA.md) | [한국어](README_KO.md) | [Français](README_FR.md) | [Deutsch](README_DE.md) | [Español](README_ES.md) | [Русский](README_RU.md)
|
|
5
4
|
|
|
@@ -15,6 +14,7 @@ iFlow CLI is a powerful AI assistant that runs directly in your terminal. It sea
|
|
|
15
14
|
## 📥 Installation
|
|
16
15
|
|
|
17
16
|
### System requirements
|
|
17
|
+
|
|
18
18
|
- Operating Systems: macOS 10.15+, Ubuntu 20.04+/Debian 10+, or Windows 10+ (with WSL 1, WSL 2, or Git for Windows)
|
|
19
19
|
- Hardware: 4GB+ RAM
|
|
20
20
|
- Software: Node.js 18+
|
|
@@ -22,13 +22,31 @@ iFlow CLI is a powerful AI assistant that runs directly in your terminal. It sea
|
|
|
22
22
|
- Shell: Works best in Bash, Zsh or Fish
|
|
23
23
|
|
|
24
24
|
### install command
|
|
25
|
+
|
|
25
26
|
```shell
|
|
26
27
|
bash -c "$(curl -fsSL https://cloud.iflow.cn/iflow-cli/install.sh)"
|
|
27
28
|
```
|
|
28
29
|
|
|
29
30
|
This command automatically installs all necessary dependencies for your terminal.
|
|
30
31
|
|
|
31
|
-
**Windows Users**:
|
|
32
|
+
**Windows Users**:
|
|
33
|
+
|
|
34
|
+
1. Go to https://nodejs.org/en/download to download the latest Node.js installer
|
|
35
|
+
2. Run the installer to install Node.js
|
|
36
|
+
3. Restart your terminal: CMD or PowerShell
|
|
37
|
+
4. Run `npm install -g @iflow-ai/iflow-cli` to install iFlow CLI
|
|
38
|
+
5. Run `iflow` to start iFlow CLI
|
|
39
|
+
|
|
40
|
+
If you are in China Mainland, you can use the following command to install iFlow CLI:
|
|
41
|
+
|
|
42
|
+
1. Go to https://cloud.iflow.cn/iflow-cli/nvm-setup.exe to download the latest nvm installer
|
|
43
|
+
2. Run the installer to install nvm
|
|
44
|
+
3. **Restart your terminal: CMD or PowerShell**
|
|
45
|
+
4. Run `nvm node_mirror https://npmmirror.com/mirrors/node/` and `nvm npm_mirror https://npmmirror.com/mirrors/npm/`
|
|
46
|
+
5. Run `nvm install 22` to install Node.js 22
|
|
47
|
+
6. Run `nvm use 22` to use Node.js 22
|
|
48
|
+
7. Run `npm install -g @iflow-ai/iflow-cli` to install iFlow CLI
|
|
49
|
+
8. Run `iflow` to start iFlow CLI
|
|
32
50
|
|
|
33
51
|
## 🔑 Authentication
|
|
34
52
|
|
|
@@ -40,6 +58,7 @@ iFlow offers two authentication options:
|
|
|
40
58
|

|
|
41
59
|
|
|
42
60
|
To get your API key:
|
|
61
|
+
|
|
43
62
|
1. Register for an iFlow account
|
|
44
63
|
2. Go to your profile settings or click [this direct link](https://iflow.cn/?open=setting)
|
|
45
64
|
3. Click "Reset" in the pop-up dialog to generate a new API key
|
|
@@ -135,20 +154,35 @@ iFlow CLI extends beyond coding to handle a wide range of tasks:
|
|
|
135
154
|
> Write a program that downloads stock prices daily and sends me email notifications.
|
|
136
155
|
```
|
|
137
156
|
|
|
138
|
-
|
|
157
|
+
_Note: Advanced automation tasks can leverage MCP servers to integrate your local system tools with enterprise collaboration suites._
|
|
139
158
|
|
|
140
159
|
## 🔧 Switch to customized model
|
|
141
160
|
|
|
142
161
|
iFlow CLI can connect to any OpenAI-compatible API. Edit the settings file in `~/.iflow/settings.json` to change the model you use.
|
|
143
162
|
|
|
144
163
|
Here is a settings demo file:
|
|
164
|
+
|
|
145
165
|
```json
|
|
146
166
|
{
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
167
|
+
"theme": "Default",
|
|
168
|
+
"selectedAuthType": "iflow",
|
|
169
|
+
"apiKey": "your iflow key",
|
|
170
|
+
"baseUrl": "https://apis.iflow.cn/v1",
|
|
171
|
+
"modelName": "Qwen3-Coder",
|
|
172
|
+
"searchApiKey": "your iflow key"
|
|
153
173
|
}
|
|
154
|
-
```
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
## GitHub Actions
|
|
177
|
+
|
|
178
|
+
You can also use iFlow CLI in your GitHub Actions workflows with the community-maintained action: [iflow-cli-action](https://github.com/vibe-ideas/iflow-cli-action)
|
|
179
|
+
|
|
180
|
+
## Community Communication
|
|
181
|
+
|
|
182
|
+
If you encounter problems in use, you can directly raise Issues on the github page.
|
|
183
|
+
|
|
184
|
+
You can also scan the following Wechat group to join the community group for communication and discussion.
|
|
185
|
+
|
|
186
|
+
### Wechat group
|
|
187
|
+
|
|
188
|
+

|