Build the array of console commands by using linkage tricks