Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

platform.txt 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Synopsis
  2. cordova-cli platform <command> [options]
  3. Manage project platforms
  4. add <plat-spec> [...].............. Add specified platforms and save platforms
  5. into config.xml & package.json after installing them
  6. --nosave ...................... Prevent saving platforms into
  7. config.xml & package.json after installing them
  8. --link ........................ When <plat-spec> is a local path, links the platform
  9. library directly instead of making a copy of it (support
  10. varies by platform; useful for platform development)
  11. remove <platform> [...] ........... Remove specified platforms
  12. --nosave ...................... Prevent deleting specified platforms from
  13. config.xml & package.json after removing them
  14. update <plat-spec> ................ Update the version of Cordova used for a specific platform;
  15. update to the latest <version> if no <plat-spec> is specified
  16. list .............................. List all installed and available platforms
  17. nosave ............................ Prevents saving version of all platforms added to
  18. config.xml & package.json
  19. Syntax
  20. <plat-spec> : <platform>[@<version>]|<path>|<url>[#<commit-ish>]
  21. <platform> ........................ Platform name e.g. android, ios, windows etc.
  22. <version> ......................... Major.minor.patch version specifier using semver
  23. <path> ............................ Path to a directory containing a platform
  24. <url> ............................. Url to a git repository containing a platform
  25. <commit-ish> ...................... Commit/tag/bramch reference. If none is specified, 'master' is used
  26. Aliases
  27. platforms -> platform
  28. rm -> remove
  29. ls -> list
  30. Examples
  31. cordova-cli platform add android ios
  32. cordova-cli platform add android@^5.0.0
  33. cordova-cli platform add https://github.com/myfork/cordova-android.git#4.0.0
  34. cordova-cli platform add ../android
  35. cordova-cli platform add ../cordova-android.tgz
  36. cordova-cli platform rm android --nosave
  37. cordova-cli platform ls