function splitShortcuts ( command ) { if ( typeof command === 'string' && command . length == 2 && ! [ 'ds' , 'us' ] . includes ( command ) ) { return [ command [ 0 ] , command [ 1 ] ] ; } else if ( typeof command === 'string' && command . length == 3 && command === 'bco' ) { return [ command [ 0 ] , command . slice ( 1 ) ] ; } return [ command ] ; } export function preprocessCommand ( ) { process . argv = [ ... process . argv . slice ( 0 , 2 ) , ... splitShortcuts ( process . argv [ 2 ] ) , ... process . argv . slice ( 3 ) , ] ; }