Skip to content

feat!: bypass default commands when --exec/--shell are provided#37

Merged
cecton merged 2 commits into
rustminded:mainfrom
yozhgoor:bypass-default-command
Jun 22, 2026
Merged

feat!: bypass default commands when --exec/--shell are provided#37
cecton merged 2 commits into
rustminded:mainfrom
yozhgoor:bypass-default-command

Conversation

@yozhgoor

@yozhgoor yozhgoor commented Jun 22, 2026

Copy link
Copy Markdown
Member

The commands argument to Watch::run is now ignored when --exec or --shell CLI flags are supplied. Only the commands from those flags are run.

Previously, both the programmatic commands argument and CLI flags were merged into a single command list, which could lead to unexpected combinations.

Add FromIterator<Command> for CommandList to support collecting iterators of commands.

BREAKING CHANGE: Watch::run no longer merges the commands argument with CLI-provided commands.

@cecton cecton changed the title Bypass default commands when --exec/--shell are provided feat!: bypass default commands when --exec/--shell are provided Jun 22, 2026
@cecton cecton merged commit dbd8b4d into rustminded:main Jun 22, 2026
6 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