[IMP] cli: suggest auto complete script
Add a hint to how to build autocompletion values for odoo-bin
closes odoo/documentation#3010
X-original-commit: 025e365a9b
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
parent
f6ac437b68
commit
7b7f79073a
@ -51,6 +51,14 @@ Help & version
|
||||
|
||||
shows Odoo version e.g. "Odoo Server 13.0"
|
||||
|
||||
.. tip:: You can enable auto-completion in your shell by running
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
echo "complete -W '`./odoo-bin --help | \
|
||||
sed -e 's/[^a-z_-]\(-\+[a-z0-9_-]\+\)/\n\1\n/' | \
|
||||
grep -- '^-' | sort | uniq | tr '\n' ' '`' odoo-bin" >> ~/.bash_completion
|
||||
|
||||
.. _reference/cmdline/server:
|
||||
|
||||
Running the server
|
||||
|
Loading…
Reference in New Issue
Block a user