make command_xxxx_init inline to avoid some commands that pass parameters by value