Skip to content

Fix compilation on debug mode - #2420

Merged
AucaCoyan merged 5 commits into
devfrom
fix-clap-debug-mode
Aug 5, 2025
Merged

AucaCoyan merged 5 commits into
devfrom
fix-clap-debug-mode

Conversation

@AucaCoyan

Copy link
Copy Markdown
Collaborator

Until recently, if you build the app in debug (not --release) mode, clap crashes with:

$ espanso start
... something something ... "start" is not a subcommand

And it was because of the aliases, so you can

espanso start
# meaning
espanso service start

and a couple of cases.

I reworked the strategy in this PR and now we are able to compile in debug mode, so we can have the trace!() logs 😄

@AucaCoyan
AucaCoyan merged commit a853928 into dev Aug 5, 2025
@AucaCoyan
AucaCoyan deleted the fix-clap-debug-mode branch August 5, 2025 02:31
sboldt1978 pushed a commit to sboldt1978/espanso that referenced this pull request Feb 11, 2026
* ♻️ rework aliases and fix the debug compilation 🎉

* 📄 add a note of the contributors authorship

* ⏪ revert changes of the log_level

* 🐛 fix passing flags (-v) and add tests

* ✅ fix tests
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.

1 participant