Details

    • Type: Wish Wish
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: CLI
    • Labels:
      None

      Description

      Current "platform ls" lists currently installed platforms. Ideally it should also present a separate list of platforms available for installation. Perhaps also list platforms potentially available if running the command on another machine. Suggested output:

      Installed: ios, android
      Available: blackberry
      Unavailable on this machine: win7, win8

        Activity

        Hide
        Braden Shepherdson added a comment -

        Done. No "unavailable" section. That's implementable, but I'm not convinced it's that helpful.

        The "available" list is NOT based on the check_reqs scripts; those aren't to hand unless the platform is already downloaded, which it may not be. So instead it's just whether the platform can be installed in principle: ie. whether your platform support it at all.

        Therefore, Android and BB10 are always available, ios is only available when os.platform() === 'darwin', and wp7+8 only when os.platform() === 'win32'.

        Show
        Braden Shepherdson added a comment - Done. No "unavailable" section. That's implementable, but I'm not convinced it's that helpful. The "available" list is NOT based on the check_reqs scripts; those aren't to hand unless the platform is already downloaded, which it may not be. So instead it's just whether the platform can be installed in principle: ie. whether your platform support it at all. Therefore, Android and BB10 are always available, ios is only available when os.platform() === 'darwin', and wp7+8 only when os.platform() === 'win32'.
        Hide
        ASF subversion and git services added a comment -

        Commit 66f15d23fd783746d2955e080a0aa90b59c8a045 in branch refs/heads/master from Braden Shepherdson
        [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=66f15d2 ]

        CB-3904: platform ls now shows installed and available platforms.

        Show
        ASF subversion and git services added a comment - Commit 66f15d23fd783746d2955e080a0aa90b59c8a045 in branch refs/heads/master from Braden Shepherdson [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=66f15d2 ] CB-3904 : platform ls now shows installed and available platforms.

          People

          • Assignee:
            Braden Shepherdson
            Reporter:
            Mike Sierra
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development