From 92400d8e311e8719e9cfc12b1b4df0456e0f7499 Mon Sep 17 00:00:00 2001 From: "Galantsev, Dmitrii" Date: Tue, 24 Oct 2023 11:46:47 -0500 Subject: [PATCH] README - Add argcomplete instructions Change-Id: I76a35e38735e71cd30ba62a177bed53300b63515 Signed-off-by: Galantsev, Dmitrii [ROCm/amdsmi commit: 2b603be71b726d80c4f7d54d27914cb4bb0ec348] --- projects/amdsmi/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/projects/amdsmi/README.md b/projects/amdsmi/README.md index 4fa348f431..61d36acdd0 100755 --- a/projects/amdsmi/README.md +++ b/projects/amdsmi/README.md @@ -134,6 +134,17 @@ For additional details, see the [ROCm Contributing Guide](https://rocm.docs.amd. * python 3.7+ 64-bit * amdgpu driver must be loaded for amdsmi_init() to pass +### Optional autocompletion + +`amd-smi` cli application supports autocompletion. It is enabled by using the +following commands: + +```bash +python3 -m pip install argcomplete +activate-global-python-argcomplete +# restart shell to enable +``` + ### CLI Installation Before amd-smi install, ensure previous versions of amdsmi library are uninstalled using pip: