Skip to content

Commit 49c14bf

Browse files
authored
Autocompletion for Orch-CLI (#174)
Autocompletion for Orch-CLI
1 parent 2d98461 commit 49c14bf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/user_guide/set_up_edge_infra/orch_cli/orch_cli_guide.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,16 @@ There is two login methods available:
101101
102102
./orch-cli login <USER> <PASSWORD>
103103
104+
Autocompletion
105+
^^^^^^^^^^^^^^^
106+
107+
The orch-cli supports autocompletion for the CLI commands. To enable autocompletion in bash shell create the completion file and reload the terminal:
108+
109+
.. code-block:: bash
110+
111+
./orch-cli completion bash | sudo tee /etc/bash_completion.d/orch-cli
112+
source ~/.bashrc
113+
104114
Running commands
105115
^^^^^^^^^^^^^^^^
106116

0 commit comments

Comments
 (0)