ef9044c7225d62e8e56c494f7aafa7306b7015ad

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Fix styling and format of hanami README

Diff

 1diff --git a/plugins/hanami/README.md b/plugins/hanami/README.md
 2index 81f2431a889ed65f1ef8cd92d9c9b3e9d22a97dc..ef3451faf0be965757d107402c74f14ffe790c16 100644
 3--- a/plugins/hanami/README.md
 4+++ b/plugins/hanami/README.md
 5@@ -1,29 +1,32 @@
 6 # Hanami Plugin #
 7-This plugin adds convinient ways to work with [Hanami](http://hanamirb.org/) via console. It's inspired by Rails plugin, so if you've used it, you'll be like home.
 8+This plugin adds convenient ways to work with [Hanami](http://hanamirb.org/) via console.
 9+It's inspired by Rails plugin, so if you've used it, you'll feel like home.
10 
11 ## Usage ##
12-For example, type `hc` into your console when you're within Hanami project directory to run application console.
13-You can read about available commands [here](http://hanamirb.org/guides/command-line/applications/), almost all of them have shortcut aliases with this plugin.
14+
15+For example, type `hc` into your console when you're within Hanami project directory to run
16+the application console. Have a look at available shortcuts below. You can read more about
17+these commands [on the official website](http://hanamirb.org/guides/command-line/applications/).
18 
19 ## Aliases ##
20 
21-| Alias | Description                              | Command                                        |
22-|-------|------------------------------------------|------------------------------------------------|
23-| HED | Set environment variable HANAMI_ENV to development | HANAMI_ENV=development |
24-| HEP | Set environment variable HANAMI_ENV to production | HANAMI_ENV=production |
25-| HET | Set environment variable HANAMI_ENV to test | HANAMI_ENV=test |
26-| hc | Run application console | hanami console |
27-| hd | Remove specified hanami resource (model, action, migration, etc.) | hanami destroy |
28-| hg | Create specified hanami resource (model, action, migration, etc.) | hanami generate | hanami generate |
29-| hgm | Create migration file | hanami generate migration |
30-| hs | Launch server with hanami application | hanami server |
31-| hsp | Launch server with specified port | hanami server -p |
32-| hr | List application routes | hanami routes |
33-| hdc | Create application database | hanami db create |
34-| hdd | Delete application database | hanami db drop |
35-| hdp | Create application database, load schema (if any), run pending migrations | hanami db prepare |
36-| hda | Run pending migrations, dump schema, delete all migration files | hanami db apply |
37-| hdv | Print current database version (timestamp of last applied migration) | hanami db version |
38-| hdrs | Drop and recreate application database | hdd && hdp |
39-| hdtp | Actualize test environment database | HET hdp |
40-| hrg | Grep hanami routes with specified pattern | hr &#124; grep |
41+| Alias | Command                   | Description                                             |
42+|-------|---------------------------|---------------------------------------------------------|
43+| HED   | HANAMI_ENV=development    | Set environment variable HANAMI_ENV to development      |
44+| HEP   | HANAMI_ENV=production     | Set environment variable HANAMI_ENV to production       |
45+| HET   | HANAMI_ENV=test           | Set environment variable HANAMI_ENV to test             |
46+| hc    | hanami console            | Run application console                                 |
47+| hd    | hanami destroy            | Remove specified hanami resource                        |
48+| hg    | hanami generate           | Create specified hanami resource                        |
49+| hgm   | hanami generate migration | Create migration file                                   |
50+| hs    | hanami server             | Launch server with hanami application                   |
51+| hsp   | hanami server -p          | Launch server with specified port                       |
52+| hr    | hanami routes             | List application routes                                 |
53+| hdc   | hanami db create          | Create application database                             |
54+| hdd   | hanami db drop            | Delete application database                             |
55+| hdp   | hanami db prepare         | Prepare database for the current environment            |
56+| hda   | hanami db apply           | Recreates a fresh schema after migrations (destructive) |
57+| hdv   | hanami db version         | Print current database version                          |
58+| hdrs  | hdd && hdp                | Drop and recreate application database                  |
59+| hdtp  | HET hdp                   | Actualize test environment database                     |
60+| hrg   | hr &#124; grep            | Grep hanami routes with specified pattern               |