We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33ff2ab commit 11d408cCopy full SHA for 11d408c
cli.js
@@ -12,7 +12,7 @@ program
12
.usage(command.usage)
13
.description(command.description)
14
.action(function runAction() {
15
- command.func({}, arguments, this.opts());
+ command.func(arguments, {}, this.opts());
16
});
17
18
(command.options || [])
command.js
@@ -6,7 +6,7 @@ module.exports = {
6
name: 'create-library',
7
description: 'creates a React Native library for different platforms',
8
usage: '[options] <name>',
9
- func: (config, args, options) => {
+ func: (args, config, options) => {
10
const name = args[0];
11
const prefix = options.prefix;
const modulePrefix = options.modulePrefix;
0 commit comments