import * as bin from './bin' ; export const commandExists = ( command ) => { const commands = [ 'clear' , ... Object . keys ( bin ) ] ; return commands . indexOf ( command . split ( ' ' ) [ 0 ] ) !== - 1 ; } ;