Let's make README look beautiful for eye candy

This commit is contained in:
Elia El Lazkani 2019-08-28 22:25:14 +02:00
parent a9ea2f21ed
commit 4092b2c537

View file

@ -66,6 +66,45 @@ Usage
Supported: af da de el et fr fa hu id it nb nl pl pt-br ro ru tr uk vi Supported: af da de el et fr fa hu id it nb nl pl pt-br ro ru tr uk vi
Example
=======
.. code:: text
$ cmw -L London -z
Weather report: london
\ / Clear
.-. 21 °C
― ( ) ― ↑ 19 km/h
`- 10 km
/ \ 0.0 mm
Location: London [51.509648,-0.099076]
.. code:: text
$ cmw -L London -o
Weather report: london
\ / Clear
.-. 21 °C
― ( ) ― ↑ 19 km/h
`- 10 km
/ \ 0.0 mm
┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Wed 28 Aug ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ Cloudy │ \ / Partly cloudy │ \ / Partly cloudy │ \ / Partly cloudy │
│ .--. 22..25 °C │ _ /"".-. 25 °C │ _ /"".-. 22 °C │ _ /"".-. 19 °C │
│ .-( ). ↗ 12-14 km/h │ \_( ). ↗ 14-17 km/h │ \_( ). ↗ 18-21 km/h │ \_( ). ↗ 15-18 km/h │
│ (___.__)__) 10 km │ /(___(__) 10 km │ /(___(__) 10 km │ /(___(__) 10 km │
│ 0.0 mm | 0% │ 0.0 mm | 0% │ 0.0 mm | 0% │ 0.0 mm | 0% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
Location: London [51.509648,-0.099076]
Advanced Usage Advanced Usage
============== ==============