diff options
| author | Antony Lesuisse <lesuisse@gmail.com> | 2014-05-29 18:33:04 +0200 |
|---|---|---|
| committer | Antony Lesuisse <lesuisse@gmail.com> | 2014-05-29 18:33:04 +0200 |
| commit | d4624fa826a5e9542782f2c53c8ba2c766d093bc (patch) | |
| tree | be214779eb6d1f17157aa48e72fbcbf95405e38b /openerpcommand/oe-bash-completion | |
| parent | 045ecc603e67911a5390c812cb6b5b123d9c190e (diff) | |
[IMP] repository cleanup
- move packaging stuff to setup
- remove historical stuff
- remove oe, odoo-cmd-fme will be merged with the convered commands
- add an odoo.py script to run odo and boostrap it
- simplify README
- prepare to move documentation to the github wiki
Diffstat (limited to 'openerpcommand/oe-bash-completion')
| -rw-r--r-- | openerpcommand/oe-bash-completion | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/openerpcommand/oe-bash-completion b/openerpcommand/oe-bash-completion deleted file mode 100644 index 57a4391d803..00000000000 --- a/openerpcommand/oe-bash-completion +++ /dev/null @@ -1,89 +0,0 @@ -_oe() -{ - local cur prev opts - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - - cmd="${COMP_WORDS[0]}" - subcmd="" - if [[ ${COMP_CWORD} > 0 ]] ; then - subcmd="${COMP_WORDS[1]}" - fi - - # oe - - opts="initialize model read run-tests scaffold update \ - call open show consume-nothing consume-memory leak-memory \ - consume-cpu bench-read bench-fields-view-get bench-dummy bench-login \ - bench-sale-mrp --help" - - if [[ ${prev} == oe && ${cur} != -* ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - fi - - # oe call - - opts="--database --user --password --host --port --help" - - if [[ ${subcmd} == call ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - fi - - # oe initialize - - opts="--database --addons --all-modules --exclude --no-create --help" - - if [[ ${subcmd} == initialize ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - fi - - # oe model - - opts="--database --model --field --verbose --help" - - if [[ ${subcmd} == model ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - fi - - # oe read - - opts="--database --model --id --field --verbose --short --help" - - if [[ ${subcmd} == read ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - fi - - # oe run-tests - - opts="--database --addons --module --dry-run --help" - - if [[ ${subcmd} == run-tests ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - fi - - # oe scaffold - - opts="--help" - - if [[ ${subcmd} == scaffold ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - fi - - # fallback for unimplemented completion - - opts="--help" - - if [[ true ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - fi -} -complete -F _oe oe |
