provide command context during cmd_init