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

CLI should ask to register Titanium app if needed

    Details

    • Story Points:
      5

      Description

      When you publish an Arrow app that has not been registered it says:

      $ appc publish
      Appcelerator Command-Line Interface, version 5.1.0
      Copyright (c) 2014-2016, Appcelerator, Inc.  All Rights Reserved.
       
      Publishing application ... this could take several minutes
      The Arrow app needs to be registered before it is published.
      ? Would you like to register the Arrow app? (Y/n)
      

      When you build a Titanium app that has not been registered it says:

      $ appc run -p ios
      Appcelerator Command-Line Interface, version 5.2.0
      Copyright (c) 2014-2016, Appcelerator, Inc.  All Rights Reserved.
       
      ....
       
      [ERROR] Application not registered.
      

      It would improve the developer experience if it would show a similar message and prompt:

      The Titanium app needs to be registered before it is build.
      ? Would you like to register the Titanium app? (Y/n)
      ? Would you like to enable Appcelerator Platform Services? (Y/n)
      

      The second prompt is also important because in a lot of scenarios (tests, samples..) you don't want to (which is the default).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fokkezb Fokke Zandbergen
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Git Integration