Add function for selecta to add selection to current
command line.