mirror of
https://github.com/borgmatic-collective/borgmatic.git
synced 2026-08-01 22:23:01 +02:00
Add Bash completion script so you can tab-complete the borgmatic command-line.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
def test_bash_completion_runs_without_error():
|
||||
subprocess.check_call('eval "$(borgmatic --bash-completion)"', shell=True)
|
||||
@@ -0,0 +1,5 @@
|
||||
from borgmatic.commands import completion as module
|
||||
|
||||
|
||||
def test_bash_completion_does_not_raise():
|
||||
assert module.bash_completion()
|
||||
Reference in New Issue
Block a user