phpcr/phpcr-shell — pull request #25 by dantleech (2014-04-18 18:45:08+00:00)
Title: Alias and config

Added config init command which creates a new configuration in the users home directory (should work in windows too thanks to some creative plagiarism from gush).

This is in order to automatically create the `alias.yml` file which will provide the idiosyncratic shortcuts for the more verbose standard command names, e.g.

````
# MySQL commands
use: workspace:use
"show databases": workspace:list
select: query:select {args}

# Filesystem commands
cd: shell:change-path {args}
rm: node:delete {args}
mv: node:move {args}

ls: node:list .
sl: node:clone %arg1% %arg2% # symlink, like ln -s
cat: node:property:show %arg1%

# Editor commands
vim: node:property:edit %arg1%
nano: node:property:edit %arg1%

# GNU commands
man: help %arg1%

# Version commands
checkin: node:version:checkin
checkout: node:version:checkout %arg1%
checkpoint: node:version:checkpoint %arg1%
checkpoint: node:version:checkpoint %arg1%
lsversion: node:version:list %arg1%
````