Metadata-Version: 2.4
Name: fuck-cli
Version: 3.55
Summary: AI-first command fixer for shell/terminal CLI with streamed explanations and Markdown rendering
Home-page: https://github.com/leeguooooo/fuck
Author: leeguoo
Author-email: leeguoo@users.noreply.github.com
License-Expression: MIT
Project-URL: Homepage, https://github.com/leeguooooo/fuck
Project-URL: Repository, https://github.com/leeguooooo/fuck
Project-URL: Issues, https://github.com/leeguooooo/fuck/issues
Project-URL: Documentation, https://github.com/leeguooooo/fuck#readme
Keywords: ai,autocorrect,bash,cli,command line,fish,productivity,shell,terminal,zsh
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: psutil
Requires-Dist: colorama
Requires-Dist: six
Requires-Dist: rich; python_version >= "3.8"
Requires-Dist: pathlib2; python_version < "3.4"
Requires-Dist: backports.shutil_get_terminal_size; python_version < "3.3"
Requires-Dist: decorator<5; python_version <= "2.7"
Requires-Dist: pyte<0.8.1; python_version <= "2.7"
Requires-Dist: decorator; python_version > "2.7"
Requires-Dist: pyte; python_version > "2.7"
Requires-Dist: win_unicode_console; sys_platform == "win32"
Provides-Extra: dev
Requires-Dist: flake8>=6; python_version >= "3.8.1" and extra == "dev"
Requires-Dist: pytest<9; python_version >= "3.8" and extra == "dev"
Requires-Dist: mock; python_version >= "3.8" and extra == "dev"
Requires-Dist: pytest-mock; python_version >= "3.8" and extra == "dev"
Requires-Dist: wheel; python_version >= "3.8" and extra == "dev"
Requires-Dist: setuptools>=17.1; python_version >= "3.8" and extra == "dev"
Requires-Dist: pexpect; python_version >= "3.8" and extra == "dev"
Requires-Dist: pypandoc; python_version >= "3.8" and extra == "dev"
Requires-Dist: pytest-benchmark; python_version >= "3.8" and extra == "dev"
Requires-Dist: pytest-docker-pexpect; python_version >= "3.8" and extra == "dev"
Requires-Dist: twine; python_version >= "3.8" and extra == "dev"
Dynamic: author-email
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# fuck

AI-first command fixer for your shell/terminal CLI (bash, zsh, fish) with streamed explanations and Markdown rendering.

<img width="898" height="323" alt="AI shell command fixer screenshot" src="https://github.com/user-attachments/assets/5b90cb3a-364c-4a72-ace2-4af872b6cbf2" />

## English

Install:

```bash
uv tool install fuck-cli
# or
pip install fuck-cli
```

Setup (recommended):

```bash
fuck setup
# or
uvx fuck --setup
```

Usage:

```bash
# after a failed command
fuck
```

AI config: run `fuck setup` or set env vars like `FUCK_AI_URL`,
`FUCK_AI_TOKEN`, `FUCK_AI_MODEL`, `FUCK_AI_STREAM`, `FUCK_AI_MODE`.

Disclaimer: always review the suggested command before executing it.

## 中文

安装：

```bash
uv tool install fuck-cli
# 或
pip install fuck-cli
```

初始化（推荐）：

```bash
fuck setup
# 或
uvx fuck --setup
```

使用：

```bash
# 命令失败后
fuck
```

AI 配置：运行 `fuck setup`，或设置环境变量如 `FUCK_AI_URL`、
`FUCK_AI_TOKEN`、`FUCK_AI_MODEL`、`FUCK_AI_STREAM`、`FUCK_AI_MODE`。

免责声明：请在执行前确认修复命令的安全性与正确性。

## 日本語

インストール：

```bash
uv tool install fuck-cli
# または
pip install fuck-cli
```

セットアップ（推奨）：

```bash
fuck setup
# または
uvx fuck --setup
```

使い方：

```bash
# 失敗したコマンドの後に
fuck
```

AI 設定：`fuck setup` を使うか、`FUCK_AI_URL`、`FUCK_AI_TOKEN`、
`FUCK_AI_MODEL`、`FUCK_AI_STREAM`、`FUCK_AI_MODE` などの環境変数を設定します。

免責事項：実行前に提案コマンドを必ず確認してください。
