Add symlinks support to CLI. Closes #1195