[REQUEST]: refactor and enhance current dfi completion using bash-completion "library"
#332
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Client (host)
financeimage (archlinux) Dockerfile and client manifestContainer (
finance(archlinux) image)https://gitea.evergreencrypto.co/EvergreenCrypto/docker-finance/src/branch/master/container/src/finance/completion.bash
dficompletion usingbash-completion(i.e., remove direct access to COMP* and use what's available, etc.)dfiarguments that aren't completing (e.g.,dfi profile/subprofile edit type=->dfi profile/subprofile edit type=rules...)Notes
The not-so-straightforward resolution to this issue hinges on the fact that the default delim for all
dficompletion is the=character (which also exists inCOMP_WORDBREAKS). One resolution can be found inc63826f867/completions-core/dd.bashSee also:
c63826f867/bash_completion (L1105-L1132)c63826f867/bash_completion (L1450-L1454)c63826f867/bash_completion (L2964-L2968)For consideration
https://gitea.evergreencrypto.co/EvergreenCrypto/docker-finance/src/branch/master/client/src/docker/completion.bash
dfi.