Skip to content

Commit

Permalink
Commands as a Bash script improved
Browse files Browse the repository at this point in the history
  • Loading branch information
mebaysan committed Oct 8, 2022
1 parent 52631eb commit 97dcb04
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- [Introduction](#introduction)
- [Installation](#installation)
- [Install As a Bash Script](#install-as-a-bash-script)
- [Commands as Bash script](#commands-as-bash-script)
- [Usage](#usage)
- [translate](#translate)
- [sentence](#sentence)
Expand Down Expand Up @@ -60,6 +61,30 @@ Meanings of "hurricane" in Turkish English Dictionary : 15 result(s)
15 + Military + hurricane + ikinci dünya savaşı'nda ingilizler tarafından kullanılan bir savaş uçağı
```

### Commands as Bash script

[tureng-cli.sh](tureng-cli.sh) file helps us to execute commands from Bash.

Syntax:

`tureng-cli.sh {command} "{word}" {n_result: default 15}`

Example of usage:

`tureng-cli.sh synonym "hurricane" 15`

```
>>> sudo mv tureng-cli.sh /usr/sbin/
>>> turenh-cli.sh synonym "hurricane" 2
Hurricane synonyms
# Synonym Defination
1 + cyclone + (Meteorol.) A system of rotating winds over a vast area, spinning inward to a low pressure center (counterclockwise in the N Hemisphere) and generally causing stormy weather: commonly called a low, since it coexists with low barometric pressure
2 + typhoon + A violent cyclonic storm occurring in the western Pacific Ocean.
```


# Usage

## translate
Expand Down

0 comments on commit 97dcb04

Please sign in to comment.