File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 1
1
# NbgExrp
2
2
3
- ** TODO: Add description**
3
+ ## Descripion
4
+ ``` elixir
5
+ - h, -- help
6
+ Desc : Show help message
7
+ Usage : nbg_exrp - h, nbg_exrp -- help
8
+ - r, -- rate
9
+ Desc : Show current rate for USD
10
+ Usage : nbg_exrp - r usd, nbg_exrp -- rate usd
11
+
12
+ -- all
13
+ Desc : Shoo all currencies rates
14
+ Usage : nbg_exp -- all
15
+
16
+ - c, -- convert
17
+ Desc : Convert amount in currenty to GEL
18
+ Usage : nbg_exrp - c 10 usd, nbg_exrp -- conver 10 usd
19
+ ```
20
+
4
21
5
22
## Installation
6
23
@@ -10,12 +27,11 @@ by adding `nbg_exrp` to your list of dependencies in `mix.exs`:
10
27
``` elixir
11
28
def deps do
12
29
[
13
- {:nbg_exrp , " ~> 0.1.0" }
30
+ {:nbg_exrp , " ~> 0.1.0" }
14
31
]
15
32
end
16
33
```
17
34
18
35
Documentation can be generated with [ ExDoc] ( https://github.com/elixir-lang/ex_doc )
19
36
and published on [ HexDocs] ( https://hexdocs.pm ) . Once published, the docs can
20
37
be found at [ https://hexdocs.pm/nbg_exrp ] ( https://hexdocs.pm/nbg_exrp ) .
21
-
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ defmodule NbgExrp.CLI do
42
42
Desc: Show current rate for USD
43
43
Usage: nbg_exrp -r usd, nbg_exrp --rate usd
44
44
45
+ --all
46
+ Desc: Shoo all currencies rates
47
+ Usage: nbg_exp --all
48
+
45
49
-c, --convert
46
50
Desc: Convert amount in currenty to GEL
47
51
Usage: nbg_exrp -c 10 usd, nbg_exrp --conver 10 usd
You can’t perform that action at this time.
0 commit comments