/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
status
scripts/release/prepare-canary-commands/parse-params.js
26 строк
499 B
Brian Vaughn
Automated fixture tests (#14370)
02 дек 2018, 22:25
Не верифицирован
02 дек 2018, 22:25
8482cbe
Код
Авторство
О чём код?
#!/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; };