morpheus.cli.click_completion_tools

Methods to add morpheus auto completion to shells

Functions

get_code([shell, path]) Return shell code to add morpheus auto completion.
install_code([append, shell, path]) Write shell auto completion code to the shell startup script path.
get_code(shell=None, path=None)[source]

Return shell code to add morpheus auto completion. Return code is intended to be copy/pasted into shell startup scripts. Currently only bash is supported.

install_code(append=False, shell=None, path=None)[source]

Write shell auto completion code to the shell startup script path. If append is True the code will be appended to the file, when False the file will be overwritten. Currently only bash is supported.

Previous morpheus.cli
Next morpheus.cli.default_command_hooks
© Copyright 2024, NVIDIA. Last updated on Apr 11, 2024.