https://turingpi.com logo
Any ideas how to use `tpi -g bash` properly in ne...
# │firmware-dev
j
Any ideas how to use
tpi -g bash
properly in newer tpi versions, I like to have a bit user-covinience eg. bash-completion
Copy code
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
Copy code
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.
2 Views