7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-05-28 20:00:49 +00:00
tutor/tutor/hooks
Régis Behmo f8b5cbc657 feat: auto-complete --mount args
When typing `tutor local run --mount /path/to/edx-pl<TAB>`, the mount option
should be auto-completed to the full edx-platform repo path. That is, if shell
completion is enabled:
https://docs.tutor.overhang.io/install.html#shell-autocompletion

Here, we make sure that the implicit form of the `--mount` argument is properly
auto-completed. We are unable to get completion to work in the explicit form,
because args that include colons do not even reach the `shell_completion`
method.
2022-11-17 14:50:52 +01:00
..
__init__.py feat: migrate to plugins.v1 with filters & actions 2022-04-15 15:30:54 +02:00
actions.py feat: strongly typed hooks 2022-11-15 14:58:36 +01:00
consts.py feat: auto-complete --mount args 2022-11-17 14:50:52 +01:00
contexts.py feat: migrate to plugins.v1 with filters & actions 2022-04-15 15:30:54 +02:00
filters.py feat: strongly typed hooks 2022-11-15 14:58:36 +01:00