/
githubmirror
/
react-native
Обзор
Документация
Войти
/
githubmirror
/
react-native
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
private/helloworld/cli.js
26 строк
586 B
Alex Hunt
Move core-cli-utils to private/ as a reference implementation (#56922)
22 май 2026, 22:36
22 май 2026, 22:36
9c3fddf
Код
Авторство
О чём код?
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict-local * @format */ /*:: import {Command} from 'commander'; */ if (process.env.BUILD_EXCLUDE_BABEL_REGISTER == null) { // $FlowFixMe[cannot-resolve-module] require('../../scripts/shared/babelRegister').registerForMonorepo(); } const program /*: Command */ = require('./cli.flow.js').default; if (require.main === module) { program.parse(); } module.exports = program;