Development

ZshCompletion (diff)

You must first sign up to be able to contribute.

Changes between Version 11 and Version 12 of ZshCompletion

Show
Ignore:
Author:
chtito (IP: 85.226.227.24)
Timestamp:
03/08/07 07:58:30 (11 years ago)
Comment:

added completion for the sfDoctrine tasks

Legend:

Unmodified
Added
Removed
Modified
  • ZshCompletion

    v11 v12  
    4646} 
    4747 
     48_sfdoctrinemodels() 
     49{ 
     50      _wanted model expl 'model' compadd $(command find lib/model/doctrine -maxdepth 1 -name '*.class.php' -exec basename {} .class.php \; | grep -v Peer\$  ) 
     51} 
     52 
    4853_sfmodelslc() 
    4954{ 
    145150  'plugin-upgrade:upgrade a plugin' 
    146151  'plugin-upgrade-all:upgrade all plugins' 
    147    
     152 
     153  'doctrine-import:convert a propel schema in sfDoctrine format' 
     154  'doctrine-build-model:create sfDoctrine classes from schema.yml' 
     155  'doctrine-generate-crud:generate a new sfDoctrine CRUD module' 
     156  'doctrine-init-admin:initialize a new sfDoctrine admin module' 
     157 
    148158  'propel-build-db:create database for current model' 
    149159  'propel-build-model:create classes for current model' 
    233243        _arguments :application:_sfapps :module: :model:_sfmodels;; 
    234244 
    235        
     245    doctrine-init-admin|doctrine-generate-crud) 
     246        _arguments :application:_sfapps :module: :model:_sfdoctrinemodels;; 
     247 
    236248esac 
    237249return 1