Add missing relative namespace by ssnepenthe · Pull Request #5616 · wp-cli/wp-cli
Previously if you were to do the following, you would get an undefined function error instead of the expected exception for wp one not being able to have subcommands:
WP_CLI::add_command('one', function() {}); WP_CLI::add_command('one two', function() {});