views.actions: Add a command wrapper for run_command and use it