Skip to content

Support appending arguments without requiring -- #163

@AlexSkrypnyk

Description

@AlexSkrypnyk

Feature Request: Support appending arguments without requiring --

What we want to achieve

Currently, Ahoy requires the use of -- to append arguments to commands.
We would like to introduce support for appending arguments without relying on --.
This would make command execution more natural and consistent with other tools (e.g., Lando, DDEV custom commands), and would lower the friction for both human users and AI-assisted workflows.

Why this matters

  1. Improved user experience

    • Users should not have to remember or type -- every single time they want to pass additional arguments.
    • This reduces typing overhead and avoids a pattern that often feels unintuitive or “extra” compared to similar tools.
  2. Better AI agent compatibility

    • AI agents and automation tools (e.g., GitHub Copilot, ChatGPT, etc.) do not naturally add -- when constructing command invocations.
    • Today, they need to be explicitly instructed to use -- for each Ahoy command, which makes automation brittle and error-prone.
    • Removing this requirement ensures smoother interoperability with AI-driven workflows.

Example

Instead of

ahoy test -- unit --filter MyTest

a user would type

ahoy test unit --filter MyTest

This change is additive — commands with -- will continue to work, so backward compatibility should not be affected.

Related to #73

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions