Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-818

If a login is required before switching orgs it shouldn't switch at all

    Details

    • Story Points:
      5
    • Sprint:
      2015 Sprint 20 Tooling, 2015 Sprint 22 Tooling

      Description

      If you use the newly added appc switch org and a login is required first because the session expired, you shouldn't not be asked what organisation to login to followed by the question which organisation to switch to.

      appc-sample-ti500 (master *) $ appc switch org
      Appcelerator Command-Line Interface, version 5.0.1
      Copyright (c) 2014-2015, Appcelerator, Inc.  All Rights Reserved.
       
      Appcelerator Login required to continue ...
       
      ? Appcelerator ID: fzandbergen@appcelerator.com
      ? Password: *********
      ? Into which organization would you like to login? Appcelerator, Inc
      ? To which organization would you like to switch? (Use arrow keys)
      ❯ 21st Century Insurance
        a
        ACS.UI.Next Automated Tests
        AnalyticsUITesting
        Appcelerator Dashboard
        Appcelerator Preprod on Prod
        Appcelerator Studio
      (Move up and down to reveal more choices)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fmiao Feon Sua Xin Miao
                Reporter:
                fokkezb Fokke Zandbergen
                Reviewer:
                Dawson Toth
              • Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code