/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
v16.14.0
scripts/release/shared-commands/parse-params.js
26 строк
499 B
Brian Vaughn
DevTools build script enhancements (#17653)
19 дек 2019, 01:34
Не верифицирован
19 дек 2019, 01:34
95056b6
Код
Авторство
О чём код?
#!/usr/bin/env node 'use strict'; const commandLineArgs = require('command-line-args'); const paramDefinitions = [ { name: 'build', type: Number, description: 'Circle CI build identifier (e.g. https://circleci.com/gh/facebook/react/<build>)', }, { name: 'skipTests', type: Boolean, description: 'Skip automated fixture tests.', defaultValue: false, }, ]; module.exports = () => { const params = commandLineArgs(paramDefinitions); return params; };