[enh] Autocompletion, init script and other CLI enhancements

PR in progress, need tests
It's a folder, not a file.