cordova-cli
cordova-cli copied to clipboard
`cordova run --list --emulator` could also work outside of Cordova project
Currently:
λ cordova run --list --emulator
Current working directory is not a Cordova-based project.
Is there a reason this shouldn't also work outside of a Cordova project?
It uses the ios-sim module that is only available in the iOS platform module. You would need to create a project and add the platform just to have the dependency.
Oh ok. Does it use anything else from the iOS platform besides that dependency? Or is this even running platform code, but just not obvious because the ios is somehow a default?