Implemeting the nysa list command