We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91182e1 commit 243d6dcCopy full SHA for 243d6dc
source/index.js
@@ -2,8 +2,17 @@
2
const options = require('./internals/options');
3
const { executeTask } = require('./internals/executor');
4
const { tasks } = require('./internals/tasks');
5
+const plugin = require("./plugin");
6
+
7
+const autoClean = plugin.find(p => (p.name === 'clean-project-auto'));
8
+const args = process.argv.slice(2);
9
10
async function main() {
11
+ if (args.includes('--auto')) {
12
+ autoClean.func();
13
+ return;
14
+ }
15
16
await options.askiOS();
17
await options.askiOSPods();
18
await options.askSystemiOSPodsCache();
0 commit comments