mycli -u root -h localhost
Password:
Version: 1.16.0
Chat: https://gitter.im/dbcli/mycli
Mail: https://groups.google.com/forum/#!forum/mycli-users
Home: http://mycli.net
Thanks to the contributor - Anonymous
mariadb root@localhost:(none)> show databases
Hah. That's an available feature right now.
You can launch your editor by typing \e. Then you can type in a query and then save it, it will populate the command line with that query. You can edit it further by adding a \e at the end of the query again.