Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8718

bin scripts should be refactored to be more flexible

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: Unscheduled
    • Fix Version/s: 4.1.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      The scripts in the bin directory are all executed when included.

      It would be useful to:

      • put all function/class definitions in proper library files
      • not require username and password when running from cli

      We may need to implement a way to indicate which uf user the script should run as (it could default to uid 1 for drupal sites, for example).

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: