UNPKG

@storybook/react-native

Version:

A better way to develop React Native Components for your app

20 lines (15 loc) 514 B
function getArguments() { const { program } = require('commander'); program .description('Getter and watcher for react native storybook') .option( '-c, --config-path <path>', 'The path to your config folder relative to your project-dir', './.storybook' ) .option('-js, --use-js', 'Use a js file for storybook.requires') .option('-a, --absolute', 'Use absolute paths for story imports'); program.parse(); return program.opts(); } module.exports = { getArguments };