Преглед изворни кода

Added installation methods and mentioned the AUR package

Siddharth Dushantha пре 5 година
родитељ
комит
d4cb8c2bfc
1 измењених фајлова са 19 додато и 1 уклоњено
  1. 19 1
      README.md

+ 19 - 1
README.md

@@ -20,9 +20,27 @@ use the `--browser` argument followed by the command needed to launch the web br
 - `curl`
 - [`jq`](https://github.com/stedolan/jq)
 
+## Installation
+### Install locally
+
+```bash
+# Download the tmpmail file and make it executeable
+$ curl -L "https://git.io/tmpmail" > tmpmail && chmod +x tmpmail
+
+# Then move it somewhere in your $PATH. Here is an example:
+$ mv tmpmail ~/bin
+```
+
+### AUR
+`tmpmail` is available on the [AUR](https://aur.archlinux.org/packages/tmpmail-git/), which is currently being maintained by [Benjamin Bädorf](https://github.com/b12f)
+
+```bash
+$ yay -S tmpmail-git
+```
+
 ## Usage
 ```console
-usage: tmpmail [-h] [--generate] [--browser BROWSER] [--recent] ID
+usage: tmpmail [-h] [--generate] [--text] [--browser BROWSER] [--recent] ID
 
 optional arguments:
 -h, --help           Show this help message