convert run_add_interactive to use struct pathspec