1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

Add Bash completion script (#60)

* Add completion script
* Add introspection
This commit is contained in:
Tim Byrne
2017-04-06 07:30:28 -05:00
parent eabf9091fb
commit 356c47a19f
6 changed files with 285 additions and 16 deletions

View File

@@ -29,7 +29,7 @@ bats:
shellcheck:
@echo Running shellcheck
@shellcheck --version || true
@shellcheck -s bash yadm bootstrap test/*.bash
@shellcheck -s bash yadm bootstrap test/*.bash completion/yadm.bash_completion
@cd test; \
for bats_file in *bats; do \
sed 's/^@test.*{/function test() {/' "$$bats_file" > "/tmp/$$bats_file.bash"; \