j0ju
07/27/2025, 10:23 PMtpi -g bash properly in newer tpi versions, I like to have a bit user-covinience eg. bash-completion
tp2 > ~ > tpi --help
Official Turing-Pi2 CLI tool
Usage: tpi [OPTIONS] [COMMAND]
Commands:
power Power on/off or reset specific nodes
[...]
reboot Reboot the BMC chip. Nodes will lose power until booted!
help Print this message or the help of the given subcommand(s)
Options:
--host <HOST> Specify the Turing-pi host to connect to. Note: [...]
--json Print results formatted as JSON [env:
-g <gen completion> [possible values: bash, elvish, fish, powershell, zsh]
-h, --help Print help
-V, --version Print version
tp2 > ~ > tpi -g bash
error: the argument '-g <gen completion>' cannot be used with one or more of the other specified arguments
Usage: tpi [OPTIONS] [COMMAND]
For more information, try '--help'
I am bit puzzled.