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).