Using command completion
Currently command completion is only supported for bash, zsh, and fish shells.
odo provides a smart completion of command parameters based on user input. For this to work, odo needs to integrate with the executing shell.
To install command completion automatically:
$ odo --complete
ywhen prompted to install the completion hook.
- To install the completion hook manually, add `complete -o nospace -C
odo` to your shell configuration file. After any modification to your shell configuration file, restart your shell.
To disable completion:
$ odo --uncomplete
ywhen prompted to uninstall the completion hook.
Re-enable command completion if you either rename the odo executable or move it to a different directory.
Ignoring files or patterns
You can configure a list of files or patterns to ignore by modifying the
.odoignore file in the root directory of your application. This
applies to both
odo push and
.odoignore file does not exist, the
.gitignore file is used
instead for ignoring specific files and folders.
.git files, any files with the
.js extension, and the
tests, add the following to either the
.odoignore or the
.git *.js tests/
.odoignore file allows any glob expressions.