Command line completion for bench commands

Bench PR 705 (Now merged in master branch) provides a shell script to enable command line auto-completion for bench commands on zsh and bash (Uses click bashcomplete).

All you have to do is pull from master branch and run source <path/to/completion.sh>

  • Supports both bench and frappe commands
  • Supports parameter completion as well (at least a single “-” must be provided)
  • Supports --site completion (Lists sites only)
6 Likes