command_def
size_t ncmds = sizeof(commands) / sizeof(struct command_def);
struct command_def commands[] = {