Skip to content

[#21] bash completion simplification#22

Merged
brusdev merged 2 commits into
arkmq-org:mainfrom
lavocatt:simplification
Mar 18, 2026
Merged

[#21] bash completion simplification#22
brusdev merged 2 commits into
arkmq-org:mainfrom
lavocatt:simplification

Conversation

@lavocatt

Copy link
Copy Markdown
Member

Originally written with AI without much supervision, the bash completion & test suite was full of boilerplate and duplicated code. Using help of the AI once more, I rewrote the completion code so that it's human readable. Same goes for the test suite that went from an awful 5K lines of bash to a simple test framework of approximately 400 lines of bash + json data.

Revisiting the autocompletion to make it easier to read and maintain.
Instead of a list of monolithic test functions move all the tests cases
in a json file and use a test framework to execute them all.
@lavocatt lavocatt requested a review from brusdev March 17, 2026 16:01
@brusdev brusdev merged commit 4c02d5c into arkmq-org:main Mar 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants