Description
Problem: Currently, the commands which include build - related steps differ slightly in their semantics, parameters and work flows.
Solution: Unify as much as possible but only where make sense.
Remark: All commands should work without specifying a platform if it is already added to the project. If more than one platform is added we should execute the command on all of them. If a user wants to run a particular platform she will be able to specify it as it currently works.
Prepare - stays as is
Build - stays as is
Deploy - does not work for emulators, does not run the app
-- device
Run - based on deploy
-- device
-- emulator android (device)
-- emulator ios
by default - build for simulator. Can be overridden by command line parameter. run [ios] --device. For android, running --geny instance must be reused
Debug = run + start debugger. works for android & ios, devices & emulators
Emulate = run --emulator. emulate --geny = run --geny