// TODO: make this registered through an API instead
if('help'.indexOf(cmd)>=0){
suggestions.push({value:'help',command_type:"embark command",description:"displays quick list of some of the available embark commands"});
}
if('versions'.indexOf(cmd)>=0){
suggestions.push({value:'versions',command_type:"embark command",description:"display versions in use for libraries and tools like web3 and solc"});
}
if('ipfs'.indexOf(cmd)>=0){
suggestions.push({value:'ipfs',command_type:"javascript object",description:"instantiated js-ipfs object configured to the current environment (available if ipfs is enabled)"});
}
if('swarm'.indexOf(cmd)>=0){
suggestions.push({value:'swarm',command_type:"javascript object",description:"instantiated swarm-api object configured to the current environment (available if swarm is enabled)"});
}
if(cmd=='w'||cmd==='we'||cmd==='web'){
suggestions.push({value:'web3',command_type:"javascript object",description:"instantiated web3.js object configured to the current environment"});
}
if('embarkjs'.indexOf(cmd)>=0){
suggestions.push({value:'EmbarkJS',command_type:"javascript object",description:"EmbarkJS static functions for Storage, Messages, Names, etc."});
}
// sort first the ones that match the command at the beginning of the string, then prefer smaller commands first