Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-14071

CLI: Add hook(s) for the "project" command

    Details

    • Type: Story
    • Status: Closed
    • Priority: Low
    • Resolution: Won't Fix
    • Affects Version/s: Release 3.1.1
    • Fix Version/s: None
    • Component/s: CLI
    • Labels:
      None
    • Environment:

      TiSDK 3.1.1
      CLI 3.1.1

      Description

      problem

      In order for processes outside of the CLI to be able to react to changes made via the "project" command, the CLI needs to expose hooks. In particular, the case in TIMOB-14068 eventually requires that Alloy should be able to execute some code after Studio adds a new platform to an existing project via the "project" command, specifically like:

      "/usr/local/bin/titanium" "--no-colors" "--no-prompt" "--no-banner" "project" "--sdk" "3.1.1.v20130530171546" "--project-dir" "/Users/mxia/Documents/Titanium_Studio_Workspace/testbb" "deployment-targets" "blackberry,tizen,mobileweb,android,iphone,iPad"
      

      Currently this command runs as expected, but Alloy has no means of knowing when that happens since there's no hook into this process.

      expected

      The CLI should expose a hook that allows a process to react to the situation where the "titanium project" command updates an existing project.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                tlukasavage Tony Lukasavage
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-16623
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration