#!/usr/bin/env hhvm
/*
 *  Copyright (c) 2004-present, Facebook, Inc.
 *  All rights reserved.
 *
 *  This source code is licensed under the MIT license found in the
 *  LICENSE file in the root directory of this source tree.
 *
 */

namespace Facebook\HHAPIDoc;

// As this file does not have an extension, it is not typechecked. Delegate
// to the typechecked one.
<<__EntryPoint>>
async function cli_main_UNSAFE(): Awaitable<noreturn> {
  (() ==> {
    // HHAST-generated to avoid pseudomain local leaks
    require_once(__DIR__.'/hh-apidoc.hack');
  })();
  await cli_main();
}