Hi all, Just finished a small file which can be put in /etc/bash_completion.d to enable autocomplete of the inveniocfg options and arguments. Example use:
$ /opt/cds-invenio/bin/inveniocfg --cr<TAB> --create-apache-conf --create-demo-site --create-tables $ /opt/cds-invenio/bin/inveniocfg --create- $ /opt/cds-invenio/bin/inveniocfg --get CFG_DA<TAB> CFG_DATABASE_HOST CFG_DATABASE_NAME CFG_DATABASE_PASS CFG_DATABASE_PORT CFG_DATABASE_USER $ /opt/cds-invenio/bin/inveniocfg --get CFG_DATABASE_ Available via Git <http://cdsware.cern.ch/repo/?p=personal/cds-invenio-vengmark.git;a=blob;f=bash_completion.d/inveniocfg;hb=autocomplete-cli> Does anyone have the time to create the installation code for this as part of `make install`? I'd probably make a mess of it... Tibor: Do you have time for a review? -- Victor Engmark
