Add a function to transform string slices
Better handling of completions of sub commands in the vault command