code: async function _expectPackageVersion(args) {
    const packageVersion = require(
      path.resolve(__dirname, '../../package.json')
    ).version;
    await _expectSuccessMessage(args, `${packageVersion}\n`);
  }
docs: Helper function to run the CLI command with args and check the expected CLI
  version.
  @param {string} args The args to be sent to the CLI command.
  @async
  @private