Closed
Description
Describe the bug
Build and export commands ignore what is given in -c argument in cli
To Reproduce
- Make sure you don't have
currentAppConfigId
defined inrenative.local.json
under template or harness - Go to template or harness
- Do
npx rnv build -p tvos -s test -c template
-> cli asks to choose app config even though user provided it
pauliusguzas@MBP-de-Flexn template-starter % rnv build -p tvos -s test -c template
┌─────────────────────────────────────────────────────────────────┐
│ ██████╗ ███████╗███╗ ██╗ █████╗ ████████╗██╗██╗ ██╗███████╗ │
│ ██╔══██╗██╔════╝████╗ ██║██╔══██╗╚══██╔══╝██║██║ ██║██╔════╝ │
│ ██████╔╝█████╗ ██╔██╗ ██║███████║ ██║ ██║██║ ██║█████╗ │
│ ██╔══██╗██╔══╝ ██║╚██╗██║██╔══██║ ██║ ██║╚██╗ ██╔╝██╔══╝ │
│ ██║ ██║███████╗██║ ╚████║██║ ██║ ██║ ██║ ╚████╔╝ ███████╗ │
│ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝ ╚══════╝ │
│ 🚀 v:1.7.0-rc.0 | renative.org | 29/11/2024, 17:44:07 │
│ $ rnv build -p tvos -s test -c template │
└─────────────────────────────────────────────────────────────────┘
info: Current engine: @rnv/engine-rn-tvos (../engine-rn-tvos)
task: ○ build ↺1
task: ○ package ↺1
task: ○ configure ↺1
task: ○ platform configure ↺1
task: ○ project configure ↺1
task: ○ workspace configure ↺1
task: ✔ workspace configure
task: ○ app configure ↺1
? Which one would you like to pick? (Use arrow keys)
❯ app
template
Desktop (please complete the following information):
- OS: Ventura 13.5.2
- Node Version 18.18.0
- RNV Version 1.7.0-rc.0
- template-starter Version 1.7.0-rc.0
Activity