Skip to content

Commit

Permalink
Fix/readme multilang (#5)
Browse files Browse the repository at this point in the history
* Update README add other language

* Update place
  • Loading branch information
higumachan authored Apr 16, 2024
1 parent 667b264 commit a2807bb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 27 deletions.
27 changes: 14 additions & 13 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[cargo-clean-all](https://crates.io/crates/cargo-clean-all)にインスパイアされたTUI製のcargoのtargetファイルの削除ツールです。

[English](./README.md)

TUI画面でcargo projectを選択して一括でtargetディレクトリの削除(cargo clean相当)を実行することができます。

![デモ動画](assets/demo.gif)
Expand All @@ -26,20 +28,19 @@ cargo cleaner

## key-bind

| key | description |
|---------|-------------------|
| `h` | ヘルプの表示 |
| `j` or ↓ | 下に移動 |
| `k` or ↑ | 上に移動 |
| `g` | リストの先頭に移動 |
| `G` | リストの末尾に移動 |
| key | description |
| -------- | --------------------------------- |
| `h` | ヘルプの表示 |
| `j` or ↓ | 下に移動 |
| `k` or ↑ | 上に移動 |
| `g` | リストの先頭に移動 |
| `G` | リストの末尾に移動 |
| `SPACE` | カーソルのあるファイルを選択/解除 |
| `v` | 自動選択モードに切り替える |
| `V` | 自動選択解除モードに切り替える |
| `ESC` | モードの解除 |
| `d` | 選択したファイルを削除 |
| `q` | 終了 |

| `v` | 自動選択モードに切り替える |
| `V` | 自動選択解除モードに切り替える |
| `ESC` | モードの解除 |
| `d` | 選択したファイルを削除 |
| `q` | 終了 |

## dry-run

Expand Down
29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

[![Crates.io](https://img.shields.io/crates/v/cargo-cleaner.svg)](https://crates.io/crates/cargo-cleaner)

[日本語](README.ja.md)

Cargo Cleaner is a TUI tool inspired by [cargo-clean-all](https://crates.io/crates/cargo-clean-all) for deleting target files in cargo projects.

It enables you to select cargo projects on the TUI screen and perform bulk deletion of the target directory (equivalent to cargo clean).

![demo](assets/demo.gif)


# Installation Method

## cargo install
Expand All @@ -19,6 +19,7 @@ cargo install cargo-cleaner
```

## Other Methods

Other methods are not yet prepared. Contributions are welcome!

# How to Use
Expand All @@ -33,19 +34,19 @@ Launching in this way, cargo cleaner will search for Cargo projects with target

## Key Bindings

| key | description |
|---------|----------------------------|
| `h` | Display help |
| `j` or ↓ | Move down |
| `k` or ↑ | Move up |
| `g` | Move to the top of the list|
| `G` | Move to the end of the list|
| `SPACE` | Select/deselect file at cursor |
| `v` | Switch to auto-select mode |
| `V` | Switch to auto-deselect mode|
| `ESC` | Cancel mode |
| `d` | Delete selected files |
| `q` | Quit |
| key | description |
| -------- | ------------------------------ |
| `h` | Display help |
| `j` or ↓ | Move down |
| `k` or ↑ | Move up |
| `g` | Move to the top of the list |
| `G` | Move to the end of the list |
| `SPACE` | Select/deselect file at cursor |
| `v` | Switch to auto-select mode |
| `V` | Switch to auto-deselect mode |
| `ESC` | Cancel mode |
| `d` | Delete selected files |
| `q` | Quit |

## Dry Run

Expand Down

0 comments on commit a2807bb

Please sign in to comment.