This shouldn't even be a command lmao you should have to write a script to loop over the `listchannels` output and run `closechannel` X times.