Refactored template rename/editing further to cli.actions (TUI-20)