Skip to content

Commit

Permalink
Merge pull request #58 from hitblast/avnil_changes
Browse files Browse the repository at this point in the history
✨ [feat] Work on a new CLI package and its details
  • Loading branch information
hitblast authored Jul 28, 2024
2 parents 0b86a24 + 5be052f commit 48d065a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 520 deletions.
29 changes: 0 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ This package requires **Python 3.8 or higher** to be used inside your developmen
```sh
# Install / upgrade.
$ pip install avro.py

# Install with integrated CLI tool.
$ pip install avro.py[cli]
```

<br>
Expand Down Expand Up @@ -87,32 +84,6 @@ Finally, you can reverse unicode Bengali to English as well (newly added).
reversed_text = avro.reverse('আমার সোনার বাংলা।')
```

---

## 🔖 Command Line Usage

Alternatively, instead of using avro.py from within your Python project, you can also use it as a simple,
tiny command-line interface for easy parsing and reversing of text.

Here are some examples for you to get started with:

```sh
# Main help section.
$ avro --help # or, use: avro <command> --help

# Parsing some text.
$ avro parse "tumi onek bhalO!"
$ avro parse --bijoy "amio kharap na, taina?" # (bijoy keyboard format)

# Reversing.
$ avro reverse "তাই তো!"

# Using additional flags to ease workflow.
$ avro parse --from-clip # (fetching input from clipboard)
$ avro parse "asolei!" --copy # (copying output to clipboard)
$ avro parse --from-clip --copy # (clipboard input -> output)
```

<br>

## 🛠️ Contributing
Expand Down
144 changes: 0 additions & 144 deletions avro/cli.py

This file was deleted.

Loading

0 comments on commit 48d065a

Please sign in to comment.